summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-26 17:31:13 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-26 17:31:13 +0000
commit5db5d0571db08403250a08d13546545741080da2 (patch)
treeb125a3451c60a8ac14f5f3f3cd8afb06f601958a /gcc/cpplib.h
parent7302865bf8517375d18bbd72b77187ce66ff6f4f (diff)
downloadgcc-5db5d0571db08403250a08d13546545741080da2.tar.gz
* cpplib.h (struct cpp_reader): Remove lang_asm.
(struct cpp_options): Remove c89. New members lang, extended_numbers. * cppexp.c (parse_number): Use them. * cpphash.h (VALID_SIGN): Use them. * cppinit.c (set_lang, cpp_start_read): Update. * cpplex.c (parse_string, _cpp_lex_token): Update. * cpplib.c (_cpp_handle_directive): Update. * cppmacro.c (parse_args): Update. * cppmain.c (scan_buffer): Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37761 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 91cca900733..4ad00461be5 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -351,6 +351,9 @@ struct cpp_options
/* -fleading_underscore sets this to "_". */
const char *user_label_prefix;
+ /* The language we're preprocessing. */
+ enum c_lang lang;
+
/* Non-0 means -v, so print the full set of include dirs. */
unsigned char verbose;
@@ -363,12 +366,6 @@ struct cpp_options
/* Nonzero means handle #import, for objective C. */
unsigned char objc;
- /* Nonzero means this is an assembly file, so ignore unrecognized
- directives and the "# 33" form of #line, both of which are
- probably comments. Also, permit unbalanced ' strings (again,
- likely to be in comments). */
- unsigned char lang_asm;
-
/* Nonzero means don't copy comments into the output file. */
unsigned char discard_comments;
@@ -378,6 +375,9 @@ struct cpp_options
/* Nonzero means process the ISO digraph sequences. */
unsigned char digraphs;
+ /* Nonzero means to allow hexadecimal floats and LL suffixes. */
+ unsigned char extended_numbers;
+
/* Nonzero means print the names of included files rather than the
preprocessed output. 1 means just the #include "...", 2 means
#include <...> as well. */
@@ -447,9 +447,6 @@ struct cpp_options
/* Nonzero means warn if undefined identifiers are evaluated in an #if. */
unsigned char warn_undef;
- /* Nonzero for the 1989 C Standard, including corrigenda and amendments. */
- unsigned char c89;
-
/* Nonzero for the 1999 C Standard, including corrigenda and amendments. */
unsigned char c99;