]> granicus.if.org Git - yasm/commitdiff
Use N_(), not _() for gettextized error messages.
authorPeter Johnson <peter@tortall.net>
Wed, 12 Mar 2003 07:21:08 +0000 (07:21 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 12 Mar 2003 07:21:08 +0000 (07:21 -0000)
svn path=/trunk/yasm/; revision=844

modules/preprocs/yapp/yapp-token.l
src/preprocs/yapp/yapp-token.l

index b392914e9dcbbc3e69b7ad351964c7a69d9cc5b8..82fd52be9c52e852d554e3f587e6b2b5ab885ffc 100644 (file)
@@ -142,9 +142,9 @@ DIR  %[ \t]*
     }
 
     if(inch == '\n')
-       yasm__error(cur_lindex, _("unterminated string"));
+       yasm__error(cur_lindex, N_("unterminated string"));
     else if(inch == EOF)
-       yasm__error(cur_lindex, _("unexpected end of file in string"));
+       yasm__error(cur_lindex, N_("unexpected end of file in string"));
 
     strbuf[count] = '\0';
 
@@ -175,7 +175,7 @@ DIR  %[ \t]*
     /* FIXME: handle includes that aren't relative */
     incfile = fopen (yytext, "r");
     if(!incfile) {
-       yasm__error(cur_lindex, _("include file `%s': %s"),
+       yasm__error(cur_lindex, N_("include file `%s': %s"),
                    yytext, strerror(errno));
        yasm_xfree(inc);
     }
@@ -333,11 +333,11 @@ DIR        %[ \t]*
 [][+*/,()-] { return yytext[0]; }
 
 <inhibit>.  {
-    yasm__warning(YASM_WARN_PREPROC, cur_lindex, _("Unhandled character in <inhibit> `%s'"), yasm__conv_unprint(yytext[0]));
+    yasm__warning(YASM_WARN_PREPROC, cur_lindex, N_("Unhandled character in <inhibit> `%s'"), yasm__conv_unprint(yytext[0]));
 }
 
 .      {
-    yasm__warning(YASM_WARN_PREPROC, cur_lindex, _("ignoring unrecognized character `%s'"),
+    yasm__warning(YASM_WARN_PREPROC, cur_lindex, N_("ignoring unrecognized character `%s'"),
                    yasm__conv_unprint(yytext[0]));
 }
 
index b392914e9dcbbc3e69b7ad351964c7a69d9cc5b8..82fd52be9c52e852d554e3f587e6b2b5ab885ffc 100644 (file)
@@ -142,9 +142,9 @@ DIR  %[ \t]*
     }
 
     if(inch == '\n')
-       yasm__error(cur_lindex, _("unterminated string"));
+       yasm__error(cur_lindex, N_("unterminated string"));
     else if(inch == EOF)
-       yasm__error(cur_lindex, _("unexpected end of file in string"));
+       yasm__error(cur_lindex, N_("unexpected end of file in string"));
 
     strbuf[count] = '\0';
 
@@ -175,7 +175,7 @@ DIR  %[ \t]*
     /* FIXME: handle includes that aren't relative */
     incfile = fopen (yytext, "r");
     if(!incfile) {
-       yasm__error(cur_lindex, _("include file `%s': %s"),
+       yasm__error(cur_lindex, N_("include file `%s': %s"),
                    yytext, strerror(errno));
        yasm_xfree(inc);
     }
@@ -333,11 +333,11 @@ DIR        %[ \t]*
 [][+*/,()-] { return yytext[0]; }
 
 <inhibit>.  {
-    yasm__warning(YASM_WARN_PREPROC, cur_lindex, _("Unhandled character in <inhibit> `%s'"), yasm__conv_unprint(yytext[0]));
+    yasm__warning(YASM_WARN_PREPROC, cur_lindex, N_("Unhandled character in <inhibit> `%s'"), yasm__conv_unprint(yytext[0]));
 }
 
 .      {
-    yasm__warning(YASM_WARN_PREPROC, cur_lindex, _("ignoring unrecognized character `%s'"),
+    yasm__warning(YASM_WARN_PREPROC, cur_lindex, N_("ignoring unrecognized character `%s'"),
                    yasm__conv_unprint(yytext[0]));
 }