Commit 5b682c8
committed
polish: fix lexer state comment (graphql#4294)
we must update the lexer line number and the line start position,
because lookahead saves the token within the linked list, and so will
never be called again on this token
we do not change the current token, however, until the lexer is advanced
closes graphql#27641 parent 6530eb3 commit 5b682c8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments