Commit a769172f authored by Guido van Rossum's avatar Guido van Rossum

Increment line number for continuation lines.

parent f1ac403c
...@@ -466,6 +466,7 @@ tok_get(tok, p_start, p_end) ...@@ -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 */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment