diff options
author | Neil Booth <neilb@earthling.net> | 2000-11-26 17:31:13 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-11-26 17:31:13 +0000 |
commit | bdb05a7b49ee8569b9efa1b0e0401b3026e1034e (patch) | |
tree | b125a3451c60a8ac14f5f3f3cd8afb06f601958a /gcc/cpplib.c | |
parent | e1085962754472b391d366d591f66e2413c8faa7 (diff) | |
download | gcc-bdb05a7b49ee8569b9efa1b0e0401b3026e1034e.zip gcc-bdb05a7b49ee8569b9efa1b0e0401b3026e1034e.tar.gz gcc-bdb05a7b49ee8569b9efa1b0e0401b3026e1034e.tar.bz2 |
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
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 3094385..48a8bf6 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -293,7 +293,7 @@ _cpp_handle_directive (pfile, indented) skipped conditional groups. Complain about this form if we're being pedantic, but not if this is regurgitated input (preprocessed or fed back in by the C++ frontend). */ - if (! buffer->was_skipping && !CPP_OPTION (pfile, lang_asm)) + if (! buffer->was_skipping && CPP_OPTION (pfile, lang) != CLK_ASM) { dir = &dtable[T_LINE]; _cpp_push_token (pfile, &dname, &pfile->directive_pos); @@ -354,7 +354,7 @@ _cpp_handle_directive (pfile, indented) source: we don't know where the comments are, and # may introduce assembler pseudo-ops. Don't complain about invalid directives in skipped conditional groups (6.10 p4). */ - if (CPP_OPTION (pfile, lang_asm)) + if (CPP_OPTION (pfile, lang) == CLK_ASM) { /* Output the # and lookahead token for the assembler. */ _cpp_push_token (pfile, &dname, &pfile->directive_pos); |