From: Wolfgang (Blub) Bumiller Date: Fri, 23 Nov 2012 20:35:14 +0000 (+0100) Subject: Fix a very nasty bug in the lexer's handling of comments X-Git-Tag: 0.1.9~301 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab55673c354293afe25cfa68bb623c13c2bd909c;p=xonotic%2Fgmqcc.git Fix a very nasty bug in the lexer's handling of comments --- diff --git a/lexer.c b/lexer.c index 8f1bcb8..61fe11f 100644 --- a/lexer.c +++ b/lexer.c @@ -604,6 +604,7 @@ static int lex_skipwhite(lex_file *lex) } break; } + lex_ungetch(lex, ch); } if (lex->flags.preprocessing) { lex_tokench(lex, ' '); /* ch); */