diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2011-03-18 13:51:37 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2011-03-18 13:51:37 +0000 |
commit | f9ccd4c7b9901c4c07909d43c0886d03a28e95a3 (patch) | |
tree | 8164f5fda4b4f77012a994a38db11d24789159db /gdb/cp-name-parser.y | |
parent | 0448971e0af374d76fdd4a25d61440b375a10eb6 (diff) | |
download | gdb-f9ccd4c7b9901c4c07909d43c0886d03a28e95a3.tar.gz |
ARI fixes: Add missing internationalization markups throughout
yacc files.
* c-exp.y: Ditto.
* cp-name-parser.y: Ditto.
* f-exp.y: Ditto.
* m2-exp.y: Ditto.
* objc-exp.y: Ditto.
* p-exp.y: Ditto.
Diffstat (limited to 'gdb/cp-name-parser.y')
-rw-r--r-- | gdb/cp-name-parser.y | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y index b31ea2462c6..87367779a0e 100644 --- a/gdb/cp-name-parser.y +++ b/gdb/cp-name-parser.y @@ -1568,14 +1568,14 @@ yylex (void) c = cp_parse_escape (&lexptr); else if (c == '\'') { - yyerror ("empty character constant"); + yyerror (_("empty character constant")); return ERROR; } c = *lexptr++; if (c != '\'') { - yyerror ("invalid character constant"); + yyerror (_("invalid character constant")); return ERROR; } @@ -1699,7 +1699,7 @@ yylex (void) memcpy (err_copy, tokstart, p - tokstart); err_copy[p - tokstart] = 0; - yyerror ("invalid number"); + yyerror (_("invalid number")); return ERROR; } lexptr = p; @@ -1775,14 +1775,14 @@ yylex (void) case '"': /* These can't occur in C++ names. */ - yyerror ("unexpected string literal"); + yyerror (_("unexpected string literal")); return ERROR; } if (!(c == '_' || c == '$' || ISALPHA (c))) { /* We must have come across a bad character (e.g. ';'). */ - yyerror ("invalid character"); + yyerror (_("invalid character")); return ERROR; } |