shithub: scc

Download patch

ref: dbb2ca15669b9542a46f2232ce74c3f95afd2902
parent: 36f259ae86ef2ab10ef3beeb6bcda9cdec68acfd
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Jul 17 20:06:34 EDT 2015

Discard symbol in undef()

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

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