scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit dbb2ca15669b9542a46f2232ce74c3f95afd2902
parent 36f259ae86ef2ab10ef3beeb6bcda9cdec68acfd
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 18 Jul 2015 00:06:34 +0200

Discard symbol in undef()

Once that the symbol is undefined, then we have to pass
to the next symbol, which should be EOF.

Diffstat:
cc1/cpp.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cc1/cpp.c b/cc1/cpp.c @@ -512,6 +512,7 @@ undef(void) } sym = lookup(NS_CPP); sym->flags &= ~ISDEFINED; + next(); } bool