PROF = #-pg
CDEFS = $(EM_INCLUDES) $(LIB_INCLUDES)
CFLAGS = $(CDEFS) $(COPTIONS) $(PROF) -O
-LDFLAGS = -i $(PROF)
+LDFLAGS = $(PROF)
# Grammar files and their objects
LSRC = tokenfile.g declar.g statement.g expression.g program.g ival.g
It keeps in account the opening and closing brackets,
preprocessor numbers, strings and character constants.
*/
- register int ch;
+ register int ch = 0;
register int level = 0, nostashraw = 0;
+ int lastch;
while (1) {
+ lastch = ch;
ch = GetChar();
if (Unstacked) {
return ')';
}
stash(repl, ch, !nostashraw);
- } else
+ } else {
+ if (lastch == TOKSEP && ch == TOKSEP) continue;
stash(repl, ch, !nostashraw);
+ }
}
}