diff options
| author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-26 06:02:47 +0000 |
|---|---|---|
| committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-26 06:02:47 +0000 |
| commit | 5e8785172ae21f82c03a677aa16602639af58d39 (patch) | |
| tree | caee9edc9501482aa583e1040604f6f2a4d52aba /libjava/java/lang/Compiler.java | |
| parent | 23f37e15fff4896c63987b3958cf8f365d50cb6f (diff) | |
| download | ppe42-gcc-5e8785172ae21f82c03a677aa16602639af58d39.tar.gz ppe42-gcc-5e8785172ae21f82c03a677aa16602639af58d39.zip | |
* cpphash.h (struct_lexer_state): Delete was_skipping.
Move skipping here from struct cpp_reader.
* cpplex.c (parse_identifier): Update.
(_cpp_lex_token): Don't skip tokens in a directive.
* cpplib.c (struct if_stack): Update.
(start_directive, end_directive): Don't change skipping state.
(_cpp_handle_directive): Update.
(do_ifdef, do_ifndef, do_if, do_elif): Similarly.
(do_else, do_endif): Update; only check for excess tokens if not
in a skipped conditional block.
(push_conditional): Update for new struct if_stack.
* gcc.dg/cpp/extratokens.c: Fix.
* gcc.dg/cpp/skipping2.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang/Compiler.java')
0 files changed, 0 insertions, 0 deletions

