aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-exp.y
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-18 13:51:41 +0000
committerPierre Muller <muller@sourceware.org>2011-03-18 13:51:41 +0000
commit001083c66cb62fae2fee8c7618cdd14145842cec (patch)
tree4006aa01c4732cba3c6256056c1c59f7b3241b97 /gdb/f-exp.y
parent4f1cdeec1082fcc9fe1dee4475efb00755eea794 (diff)
downloadbinutils-001083c66cb62fae2fee8c7618cdd14145842cec.zip
binutils-001083c66cb62fae2fee8c7618cdd14145842cec.tar.gz
binutils-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/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 7cd6ae1..d9cf3cf 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);
}