mirror of https://github.com/python/cpython
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;
|
tok->done = E_TOKEN;
|
||||||
return ERRORTOKEN;
|
return ERRORTOKEN;
|
||||||
}
|
}
|
||||||
|
tok->lineno++;
|
||||||
goto again; /* Read next line */
|
goto again; /* Read next line */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue