diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 38f76edd927..97eda75794c 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -466,6 +466,7 @@ tok_get(tok, p_start, p_end) tok->done = E_TOKEN; return ERRORTOKEN; } + tok->lineno++; goto again; /* Read next line */ }