commit dbb2ca15669b9542a46f2232ce74c3f95afd2902
Author:     Roberto E. Vargas Caballero <k...@shike2.com>
AuthorDate: Sat Jul 18 00:06:34 2015 +0200
Commit:     Roberto E. Vargas Caballero <k...@shike2.com>
CommitDate: Sat Jul 18 07:22:29 2015 +0200

    Discard symbol in undef()
    
    Once that the symbol is undefined, then we have to pass
    to the next symbol, which should be EOF.

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

Reply via email to