summaryrefslogtreecommitdiff
path: root/gdb/f-exp.y
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2011-03-18 13:51:37 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2011-03-18 13:51:37 +0000
commitf9ccd4c7b9901c4c07909d43c0886d03a28e95a3 (patch)
tree8164f5fda4b4f77012a994a38db11d24789159db /gdb/f-exp.y
parent0448971e0af374d76fdd4a25d61440b375a10eb6 (diff)
downloadgdb-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/f-exp.y')
-rw-r--r--gdb/f-exp.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index 7cd6ae17d8b..d9cf3cfcb90 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -517,9 +517,9 @@ variable: name_not_typename
if (msymbol != NULL)
write_exp_msymbol (msymbol);
else if (!have_full_symbols () && !have_partial_symbols ())
- error ("No symbol table is loaded. Use the \"file\" command.");
+ error (_("No symbol table is loaded. Use the \"file\" command."));
else
- error ("No symbol \"%s\" in current context.",
+ error (_("No symbol \"%s\" in current context."),
copy_name ($1.stoken));
}
}
@@ -758,7 +758,7 @@ parse_number (p, len, parsed_float, putithere)
if (RANGE_CHECK && n != 0)
{
if ((unsigned_p && (unsigned)prevn >= (unsigned)n))
- range_error("Overflow on numeric constant.");
+ range_error (_("Overflow on numeric constant."));
}
prevn = n;
}
@@ -1099,7 +1099,7 @@ yylex (void)
memcpy (err_copy, tokstart, p - tokstart);
err_copy[p - tokstart] = 0;
- error ("Invalid number \"%s\".", err_copy);
+ error (_("Invalid number \"%s\"."), err_copy);
}
lexptr = p;
return toktype;
@@ -1133,7 +1133,7 @@ yylex (void)
if (!(c == '_' || c == '$' || c ==':'
|| (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')))
/* We must have come across a bad character (e.g. ';'). */
- error ("Invalid character '%c' in expression.", c);
+ error (_("Invalid character '%c' in expression."), c);
namelen = 0;
for (c = tokstart[namelen];
@@ -1224,5 +1224,5 @@ yyerror (msg)
if (prev_lexptr)
lexptr = prev_lexptr;
- error ("A %s in expression, near `%s'.", (msg ? msg : "error"), lexptr);
+ error (_("A %s in expression, near `%s'."), (msg ? msg : "error"), lexptr);
}