diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2001-12-15 20:06:12 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2001-12-15 20:06:12 +0000 |
commit | 1737c953d5d6b65078435519a6dbd5e425ad47e6 (patch) | |
tree | ebc53bbcecda952d04e1c0bfb5531ae9907616ca /gcc/ch | |
parent | 56deb74c8623b1218658480a8419b63772cac245 (diff) | |
download | gcc-1737c953d5d6b65078435519a6dbd5e425ad47e6.zip gcc-1737c953d5d6b65078435519a6dbd5e425ad47e6.tar.gz gcc-1737c953d5d6b65078435519a6dbd5e425ad47e6.tar.bz2 |
gcc.c, [...]: Use American spelling in messages.
* gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
American spelling in messages.
* po/gcc.pot: Regenerate.
ch:
* decl.c, parse.c, typeck.c: Use American spelling in messages.
cp:
* lang-options.h: Use American spelling in messages.
From-SVN: r48047
Diffstat (limited to 'gcc/ch')
-rw-r--r-- | gcc/ch/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ch/decl.c | 2 | ||||
-rw-r--r-- | gcc/ch/parse.c | 2 | ||||
-rw-r--r-- | gcc/ch/typeck.c | 4 |
4 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index 111824d..2905f87 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,7 @@ +2001-12-15 Joseph S. Myers <jsm28@cam.ac.uk> + + * decl.c, parse.c, typeck.c: Use American spelling in messages. + 2001-12-10 Joseph S. Myers <jsm28@cam.ac.uk> * chill.texi: Don't condition menus on @ifinfo. diff --git a/gcc/ch/decl.c b/gcc/ch/decl.c index 9b8592f..dc9a00f 100644 --- a/gcc/ch/decl.c +++ b/gcc/ch/decl.c @@ -1056,7 +1056,7 @@ do_decl (name, type, is_static, lifetime_bound, opt_init, opt_external) if (CH_TYPE_NONVALUE_P (type)) { error_with_decl (decl, - "no initialisation allowed for `%s'"); + "no initialization allowed for `%s'"); temp = NULL_TREE; } else if (TREE_CODE (type) == REFERENCE_TYPE) diff --git a/gcc/ch/parse.c b/gcc/ch/parse.c index 0c482dd..f8e0e54 100644 --- a/gcc/ch/parse.c +++ b/gcc/ch/parse.c @@ -961,7 +961,7 @@ parse_loc_declaration (in_spec_module) ignoring = save_ignoring; } if (init_value == NULL_TREE && loc_decl && pass == 1) - error ("loc-identity declaration without initialisation"); + error ("loc-identity declaration without initialization"); do_decls (names, mode, is_static || global_bindings_p () /* the variable becomes STATIC if all_static_flag is set and diff --git a/gcc/ch/typeck.c b/gcc/ch/typeck.c index ab806bb..84ee56e 100644 --- a/gcc/ch/typeck.c +++ b/gcc/ch/typeck.c @@ -3441,12 +3441,12 @@ smash_dummy_type (type) } else if (TREE_CODE (origin) == RECORD_TYPE) { - error ("parameterised structures not implemented"); + error ("parameterized structures not implemented"); return error_mark_node; } else { - error ("invalid parameterised type"); + error ("invalid parameterized type"); return error_mark_node; } |