summaryrefslogtreecommitdiff
path: root/gcc/cppinit.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-28 05:55:22 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-28 05:55:22 +0000
commit63e1abcebc4798da780b5334174d64e302d61f32 (patch)
treee397904d152d2097125d59904f15ea71e0957eb9 /gcc/cppinit.c
parentc1a4fd9101cf73ccb1d30961a6a37ca2201b1bf4 (diff)
downloadgcc-63e1abcebc4798da780b5334174d64e302d61f32.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r--gcc/cppinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c
index d8ec597e461..3fbf77e4748 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