summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-30 12:14:28 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-30 12:14:28 +0000
commit1a5a5cd8e1186b23c202356655578e6f328aa361 (patch)
tree2b186d54ffc78842ba447fb2fb99339ac3c52af3 /gcc/c-lex.c
parent7fb47f9f1adf513b1b2b5798de845536228fe16d (diff)
downloadgcc-1a5a5cd8e1186b23c202356655578e6f328aa361.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46635 138bc75d-0d04-0410-961f-82ee72b054a4
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 bbe8dc7c117..ca59266c2c8 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++;
}