Increment line number for continuation lines.

This commit is contained in:
Guido van Rossum 1990-11-09 15:08:39 +00:00
parent f1ac403c4d
commit a769172f6a
1 changed files with 1 additions and 0 deletions

View File

@ -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 */
} }