diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-23 06:07:45 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-23 06:07:45 +0000 |
commit | b9093358f8429abd03bfef0dac0599d58deeccb9 (patch) | |
tree | d76b0e196a131afd496bdeff96688447c5f400bd /gcc/fix-header.c | |
parent | 59e169117fd398179e05c29759810b7498b674d9 (diff) | |
download | gcc-b9093358f8429abd03bfef0dac0599d58deeccb9.tar.gz |
* cpperror.c (_cpp_begin_message): No special casing
of CPP_FATAL_LIMIT.
* cppinit.c (sanity_checks): s/DL_FATAL/DL_ICE/.
(output_deps, cpp_handle_option, cpp_post_options): Use DL_ERROR.
* cpplib.c (do_include_common): Use DL_ERROR.
* cpplib.h (CPP_FATAL_LIMIT, CPP_FATAL_ERRORS, DL_FATAL): Remove.
(DL_ICE): Renumber.
* fix-header.c (read_scan_file): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53765 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index ba4ba6a6dee..0a3e98fb1e6 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -632,10 +632,10 @@ read_scan_file (in_fname, argc, argv) options->inhibit_errors = 1; i = cpp_handle_options (scan_in, argc, argv); - if (i < argc && ! CPP_FATAL_ERRORS (scan_in)) - cpp_error (scan_in, DL_FATAL, "invalid option `%s'", argv[i]); + if (i < argc) + cpp_error (scan_in, DL_ERROR, "invalid option `%s'", argv[i]); cpp_post_options (scan_in); - if (CPP_FATAL_ERRORS (scan_in)) + if (cpp_errors (scan_in)) exit (FATAL_EXIT_CODE); if (! cpp_read_main_file (scan_in, in_fname, NULL)) |