diff --git a/preprocess.c b/preprocess.c index 2bef487c..cd8d1d89 100644 --- a/preprocess.c +++ b/preprocess.c @@ -83,7 +83,7 @@ static Token *skip_line(Token *tok) { if (tok->at_bol) return tok; warn_tok(tok, "extra token"); - while (tok->at_bol) + while (!tok->at_bol) tok = tok->next; return tok; }