aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2001-10-30 12:14:28 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-10-30 12:14:28 +0000
commit53fcdc7677776c3ccbe098ee4f8fe082cae5f28e (patch)
tree2b186d54ffc78842ba447fb2fb99339ac3c52af3 /gcc/c-lex.c
parent73991d6ae74ffcb1fbd0dc4435c5aa7dc50947d7 (diff)
downloadgcc-53fcdc7677776c3ccbe098ee4f8fe082cae5f28e.zip
gcc-53fcdc7677776c3ccbe098ee4f8fe082cae5f28e.tar.gz
gcc-53fcdc7677776c3ccbe098ee4f8fe082cae5f28e.tar.bz2
Localization fixes.
2001-10-30 Paolo Bonzini <bonzini@gnu.org> Localization fixes. * c-decl.c (parmlist_tags_warning, start_struct, check_for_loop_decls): Separate messages for struct, union and enum cases to allow for languages in which they have different genders. * c-format.c (scanf_flag_specs): Separate short and long name of the assignment suppression feature. (check_format_types): Localize "pointer" and "different types" strings. * c-lex.c (lex_number): Localize "an unsigned long int" and related strings. (lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on warning message. * c-typeck.c (build_unary_up): Separate messages for increment and decrement cases to allow for languages in which they use different articles. Localize the strings "increment" and "decrement" in one case. From-SVN: r46635
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index bbe8dc7c..ca59266 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1258,9 +1258,9 @@ lex_number (str, len)
pedwarn ("integer constant larger than the maximum value of %s",
(flag_isoc99
? (TREE_UNSIGNED (type)
- ? "an unsigned long long int"
- : "a long long int")
- : "an unsigned long int"));
+ ? _("an unsigned long long int")
+ : _("a long long int"))
+ : _("an unsigned long int")));
}
if (base == 10 && ! spec_unsigned && TREE_UNSIGNED (type))
@@ -1333,7 +1333,7 @@ lex_string (str, len, wide)
char_len = local_mbtowc (&wc, p, limit - p);
if (char_len == -1)
{
- warning ("Ignoring invalid multibyte character");
+ warning ("ignoring invalid multibyte character");
char_len = 1;
c = *p++;
}