Skip to content

Commit

Permalink
increment the line number after the line continuation; ok tedu
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeb authored and Duncaen committed Jan 28, 2021
1 parent 31abd37 commit 36cc28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ repeat:
if (escape) {
nonkw = 1;
escape = 0;
yylval.colno = 0;
yylval.lineno++;
continue;
}
goto eow;
Expand Down

0 comments on commit 36cc28e

Please sign in to comment.