cpperror.c (_cpp_begin_message): Do the test for suppression of warnings and pedantic...
authorNeil Booth <neilb@earthling.net>
Thu, 28 Sep 2000 05:55:22 +0000 (05:55 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Thu, 28 Sep 2000 05:55:22 +0000 (05:55 +0000)
commitd8090680186229102bf95754d5117c9f3fb139fa
treee397904d152d2097125d59904f15ea71e0957eb9
parente93eff9433088e058245212256b3f03f34562817
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
gcc/ChangeLog
gcc/cpperror.c
gcc/cppinit.c
gcc/cpplex.c
gcc/cpplib.c
gcc/cppmain.c