diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2002-05-24 19:26:30 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-05-24 19:26:30 +0000 |
commit | 3620711b75a8b664a7ff1f6fe96ddd52fd2d8a0d (patch) | |
tree | 602f22674669b7f36aed488ae8fdeb6a599ee063 /gcc/cppmacro.c | |
parent | 2f8d482ecd2d884e9b27d74bae92457147bf8ce1 (diff) | |
download | gcc-3620711b75a8b664a7ff1f6fe96ddd52fd2d8a0d.zip gcc-3620711b75a8b664a7ff1f6fe96ddd52fd2d8a0d.tar.gz gcc-3620711b75a8b664a7ff1f6fe96ddd52fd2d8a0d.tar.bz2 |
re PR preprocessor/6780 (Incorrect diagnosis of token pasting)
PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.
From-SVN: r53851
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 40a9a07..d154c0c 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -660,6 +660,8 @@ enter_macro_context (pfile, node) /* The presence of a macro invalidates a file's controlling macro. */ pfile->mi_valid = false; + pfile->state.angled_headers = false; + /* Handle standard macros. */ if (! (node->flags & NODE_BUILTIN)) { |