summaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-23 06:07:45 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-23 06:07:45 +0000
commitb9093358f8429abd03bfef0dac0599d58deeccb9 (patch)
treed76b0e196a131afd496bdeff96688447c5f400bd /gcc/fix-header.c
parent59e169117fd398179e05c29759810b7498b674d9 (diff)
downloadgcc-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.c6
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))