fix(frontends/lean/scanner): wrong column information produced by scanner
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
631e2395a3
commit
e5a36467dd
1 changed files with 1 additions and 1 deletions
|
@ -197,8 +197,8 @@ auto scanner::read_number() -> token_kind {
|
|||
void scanner::read_single_line_comment() {
|
||||
while (true) {
|
||||
if (curr() == '\n') {
|
||||
new_line();
|
||||
next();
|
||||
new_line();
|
||||
return;
|
||||
} else if (curr() == EOF) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue