fix(frontends/lean/scanner): wrong column information produced by scanner

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-13 12:32:37 -07:00
parent 631e2395a3
commit e5a36467dd

View file

@ -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;