From a769172f6a872ae21e23d797cf484fc0dbdd98e7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 9 Nov 1990 15:08:39 +0000 Subject: Increment line number for continuation lines. --- Parser/tokenizer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 38f76ed..97eda75 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 */ } -- cgit v0.12