diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-24 19:26:30 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-24 19:26:30 +0000 |
commit | 606942e3df1248904b04cfa1d9389e2878518fbb (patch) | |
tree | 602f22674669b7f36aed488ae8fdeb6a599ee063 /gcc/cppmacro.c | |
parent | 323583a15129744cb92a8052e530f35238e15f03 (diff) | |
download | gcc-606942e3df1248904b04cfa1d9389e2878518fbb.tar.gz |
PR preprocessor/6780
* cppmacro.c (enter_macro_context): Clear state.angled_headers.
testsuite:
* gcc.dg/cpp/paste12.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53851 138bc75d-0d04-0410-961f-82ee72b054a4
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 40a9a078045..d154c0ccb85 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)) { |