Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a769172

Browse files
committed
Increment line number for continuation lines.
1 parent f1ac403 commit a769172

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Parser/tokenizer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ tok_get(tok, p_start, p_end)
466466
tok->done = E_TOKEN;
467467
return ERRORTOKEN;
468468
}
469+
tok->lineno++;
469470
goto again; /* Read next line */
470471
}
471472

0 commit comments

Comments
 (0)