diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-11 22:20:20 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-08-11 22:20:20 +0000 |
commit | 806eb521277486382a73d87728d8ef209d4efe5d (patch) | |
tree | f410dde5df3e70d7dbcae969b00093857d563e47 /gcc/cppmacro.c | |
parent | 16544f205fc83f3dc6c886398e227b0ce6bed325 (diff) | |
download | gcc-806eb521277486382a73d87728d8ef209d4efe5d.tar.gz |
* cppmacro.c (enter_macro_context): Push macro expansions even
if empty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44813 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmacro.c')
-rw-r--r-- | gcc/cppmacro.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gcc/cppmacro.c b/gcc/cppmacro.c index 8eb67e1d3a3..09cad20553c 100644 --- a/gcc/cppmacro.c +++ b/gcc/cppmacro.c @@ -669,16 +669,12 @@ enter_macro_context (pfile, node) list.limit = macro->expansion + macro->count; } - /* Only push a macro context for non-empty replacement lists. */ - if (list.first != list.limit) - { - context = next_context (pfile); - context->list = list; - context->macro = macro; + context = next_context (pfile); + context->list = list; + context->macro = macro; - /* Disable the macro within its expansion. */ - macro->disabled = 1; - } + /* Disable the macro within its expansion. */ + macro->disabled = 1; return 1; } |