diff options
author | Neil Booth <neilb@earthling.net> | 2000-07-09 09:19:44 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2000-07-09 09:19:44 +0000 |
commit | 91fcd1584b47b95f35043b1ac1c4f8ca92a6e16f (patch) | |
tree | da206aace0d455cab3fa91f129af3841c667f84d /gcc/global.c | |
parent | 8514e31898f206915bbae2970285b1f35cd192ad (diff) | |
download | gcc-91fcd1584b47b95f35043b1ac1c4f8ca92a6e16f.zip gcc-91fcd1584b47b95f35043b1ac1c4f8ca92a6e16f.tar.gz gcc-91fcd1584b47b95f35043b1ac1c4f8ca92a6e16f.tar.bz2 |
cpphash.h: ISvspace, is_vspace, is_nvspace: New.
* cpphash.h: ISvspace, is_vspace, is_nvspace: New.
IShspace, ISspace: Update.
* cppinit.c: ISTABLE: Update.
V: New.
* cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
(IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
(skip_block_comment, skip_line_comment, parse_string,
lex_line): Use is_vspace rather than IS_NEWLINE.
(skip_whitespace, lex_line): Clean up to use is_nvspace.
(lex_line): Use KNOWN_DIRECTIVE. Any kind of directive
gets a BOL flag.
(lex_next): Unconditionally stop if within a directive.
Treat directives within macro invocations as directives
(after parse_args emits error), not as the argument.
* testsuite/gcc.dg/cpp/directiv.c: New tests.
* testsuite/gcc.dg/cpp/undef1.c: Update.
From-SVN: r34933
Diffstat (limited to 'gcc/global.c')
0 files changed, 0 insertions, 0 deletions