diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-23 06:07:45 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-23 06:07:45 +0000 |
commit | bdee42b16c0af056a289dbcb61ba70917ba7f83b (patch) | |
tree | d76b0e196a131afd496bdeff96688447c5f400bd /gcc/cpplib.h | |
parent | e67a7860dc6e7e763e1149e3c77b5d00d69a678a (diff) | |
download | gcc-bdee42b16c0af056a289dbcb61ba70917ba7f83b.zip gcc-bdee42b16c0af056a289dbcb61ba70917ba7f83b.tar.gz gcc-bdee42b16c0af056a289dbcb61ba70917ba7f83b.tar.bz2 |
cpperror.c (_cpp_begin_message): No special casing of CPP_FATAL_LIMIT.
* 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.
From-SVN: r53765
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 982d0f1..8376e1c 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -420,10 +420,6 @@ struct cpp_callbacks void (*register_builtins) PARAMS ((cpp_reader *)); }; -#define CPP_FATAL_LIMIT 1000 -/* True if we have seen a "fatal" error. */ -#define CPP_FATAL_ERRORS(PFILE) (cpp_errors (PFILE) >= CPP_FATAL_LIMIT) - /* Name under which this program was invoked. */ extern const char *progname; @@ -593,13 +589,9 @@ extern int cpp_defined PARAMS ((cpp_reader *, const unsigned char *, int)); #define DL_PEDWARN 0x02 /* An error. */ #define DL_ERROR 0x03 -/* A fatal error. We do not exit, to support use of cpplib as a - library, but may only return CPP_EOF tokens thereon. It is the - caller's responsibility to check CPP_FATAL_ERRORS. */ -#define DL_FATAL 0x04 /* An internal consistency check failed. Prints "internal error: ", - otherwise the same as DL_FATAL. */ -#define DL_ICE 0x05 + otherwise the same as DL_ERROR. */ +#define DL_ICE 0x04 /* Extracts a diagnostic level from an int. */ #define DL_EXTRACT(l) (l & 0xf) /* Non-zero if a diagnostic level is one of the warnings. */ |