diff options
author | Guido van Rossum <guido@python.org> | 1990-11-09 15:08:39 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-11-09 15:08:39 (GMT) |
commit | a769172f6a872ae21e23d797cf484fc0dbdd98e7 (patch) | |
tree | f08dcb2ac632ba43a31bbf5474404cff4887417c | |
parent | f1ac403c4d81590b69e3f661c5bf380b1a5e6e34 (diff) | |
download | cpython-a769172f6a872ae21e23d797cf484fc0dbdd98e7.zip cpython-a769172f6a872ae21e23d797cf484fc0dbdd98e7.tar.gz cpython-a769172f6a872ae21e23d797cf484fc0dbdd98e7.tar.bz2 |
Increment line number for continuation lines.
-rw-r--r-- | Parser/tokenizer.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ } |