diff options
| -rw-r--r-- | gcc/ChangeLog | 1 | ||||
| -rw-r--r-- | gcc/cppinit.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d51311..0513f37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -38,6 +38,7 @@ Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> (SET_CPP_PEDANTIC): New macro. * cpplib.c (do_include): Don't bother checking system_header_p. (do_warning, do_ident, do_assert, do_unassert): Likewise. + * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC. * function.h (struct expr_status): Add x_arg_space_so_far. (arg_space_so_far): New macro. diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 4ec4ea5..b869c54 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -1196,10 +1196,10 @@ cpp_handle_option (pfile, argc, argv) case 'p': if (!strcmp (argv[i], "-pedantic")) - CPP_PEDANTIC (pfile) = 1; + SET_CPP_PEDANTIC (pfile); else if (!strcmp (argv[i], "-pedantic-errors")) { - CPP_PEDANTIC (pfile) = 1; + SET_CPP_PEDANTIC (pfile); opts->pedantic_errors = 1; } break; |
