summaryrefslogtreecommitdiffstats
path: root/gcc/cpplib.h
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/cpplib.h
parent59e169117fd398179e05c29759810b7498b674d9 (diff)
downloadppe42-gcc-b9093358f8429abd03bfef0dac0599d58deeccb9.tar.gz
ppe42-gcc-b9093358f8429abd03bfef0dac0599d58deeccb9.zip
* 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/cpplib.h')
-rw-r--r--gcc/cpplib.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 982d0f14eae..8376e1c1657 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. */
OpenPOWER on IntegriCloud