diff options
author | Neil Booth <neilb@earthling.net> | 2000-09-28 05:55:22 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-09-28 05:55:22 +0000 |
commit | d8090680186229102bf95754d5117c9f3fb139fa (patch) | |
tree | e397904d152d2097125d59904f15ea71e0957eb9 /gcc/cppinit.c | |
parent | e93eff9433088e058245212256b3f03f34562817 (diff) | |
download | gcc-d8090680186229102bf95754d5117c9f3fb139fa.zip gcc-d8090680186229102bf95754d5117c9f3fb139fa.tar.gz gcc-d8090680186229102bf95754d5117c9f3fb139fa.tar.bz2 |
cpperror.c (_cpp_begin_message): Do the test for suppression of warnings and pedantic warnings before the "is a...
* cpperror.c (_cpp_begin_message): Do the test for suppression
of warnings and pedantic warnings before the "is a warning an
error" tests.
* cppinit.c (cpp_handle_option): Remove surplus \n.
* cpplex.c (ON_REST_ARG): Delete.
(skip_block_comment): Initialise prevc.
(parse_args): Improve error messages.
(maybe_paste_with_next): Use CONTEXT_VARARGS rather
than ON_REST_ARG.
* cpplib.c (cpp_push_buffer): Fix grammar in message.
* cppmain.c (main): Set callbacks for #ident and #pragma
only if no_output option is false.
(do_pragma_implementation): Only call the #pragma handler
if it is set in the cpp_reader structure.
From-SVN: r36655
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index d8ec597..3fbf77e 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -1403,7 +1403,7 @@ cpp_handle_option (pfile, argc, argv) CPP_OPTION (pfile, out_fname) = ""; break; case OPT_v: - fprintf (stderr, _("GNU CPP version %s (cpplib)\n"), version_string); + fprintf (stderr, _("GNU CPP version %s (cpplib)"), version_string); #ifdef TARGET_VERSION TARGET_VERSION; #endif |