From bdb05a7b49ee8569b9efa1b0e0401b3026e1034e Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 26 Nov 2000 17:31:13 +0000 Subject: cpplib.h (struct cpp_reader): Remove lang_asm. * 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. From-SVN: r37761 --- gcc/cpplib.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'gcc/cpplib.h') diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 91cca90..4ad0046 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; -- cgit v1.1