diff options
author | Pierre Muller <muller@sourceware.org> | 2011-03-18 13:51:41 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-03-18 13:51:41 +0000 |
commit | 001083c66cb62fae2fee8c7618cdd14145842cec (patch) | |
tree | 4006aa01c4732cba3c6256056c1c59f7b3241b97 /gdb/cp-name-parser.y | |
parent | 4f1cdeec1082fcc9fe1dee4475efb00755eea794 (diff) | |
download | gdb-001083c66cb62fae2fee8c7618cdd14145842cec.zip gdb-001083c66cb62fae2fee8c7618cdd14145842cec.tar.gz gdb-001083c66cb62fae2fee8c7618cdd14145842cec.tar.bz2 |
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 b31ea24..8736777 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; } |