From ebae5c09ae356c87576d6a210b0b84485ef27099 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 1 Dec 2001 18:42:49 +0000 Subject: * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove trailing period from diagnostics. * c-lex.c (cb_file_change): Similarly. * cppmacro.c (check_trad_stringification): Similarly. * gcc.c (do_spec_1): Similarly. * genattr.c (main): Similarly. * genattrtab.c (main, operate_exp, make_length_attrs): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * mips-tfile.c (add_file, error): Similarly. * profile.c (init_branch_prob): Similarly. * reload1.c (spill_failure): Similarly. * stmt.c (parse_output_constraint): Similarly. * varasm.c (assemble_variable): Similarly. cp: * class.c (finish_struct): Similarly. * decl.c (check_tag_decl): Similarly. * lex.c (cxx_set_yydebug): Similarly. * typeck2.c (friendly_abort): Similarly. java: * expr.c (expand_byte_code): Similarly. * jcf-parse.c (load_class, jcf_parse): Similarly. * jcf-write.c (generate_classfile): Similarly. * lex.c (java_lex): Similarly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47517 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/c-decl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/c-decl.c') diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 04b975023ae..63b2680f308 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1621,13 +1621,13 @@ duplicate_decls (newdecl, olddecl, different_binding_level) if (TREE_CHAIN (t) == 0 && TYPE_MAIN_VARIANT (type) != void_type_node) { - error ("A parameter list with an ellipsis can't match an empty parameter name list declaration."); + error ("A parameter list with an ellipsis can't match an empty parameter name list declaration"); break; } if (simple_type_promotes_to (type) != NULL_TREE) { - error ("An argument type that has a default promotion can't match an empty parameter name list declaration."); + error ("An argument type that has a default promotion can't match an empty parameter name list declaration"); break; } } @@ -5300,7 +5300,7 @@ parmlist_tags_warning () } if (! already) { - warning ("its scope is only this definition or declaration, which is probably not what you want."); + warning ("its scope is only this definition or declaration, which is probably not what you want"); already = 1; } } -- cgit v1.2.1