mirror of
https://github.com/python/cpython
synced 2024-09-04 15:56:13 +00:00
Increment line number for continuation lines.
This commit is contained in:
parent
f1ac403c4d
commit
a769172f6a
|
@ -466,6 +466,7 @@ tok_get(tok, p_start, p_end)
|
|||
tok->done = E_TOKEN;
|
||||
return ERRORTOKEN;
|
||||
}
|
||||
tok->lineno++;
|
||||
goto again; /* Read next line */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue