diff --git a/compiler/lex.c b/compiler/lex.c index b3f041f..fe7e669 100644 --- a/compiler/lex.c +++ b/compiler/lex.c @@ -524,13 +524,6 @@ void lex_backup(LexState *ls, LexToken token) { arrput(ls->backlist, token); - i64 col = ls->cur_loc.column - token.len; - if (col < 1) { - if (ls->cur_loc.line > 1) - --ls->cur_loc.line; - } else { - ls->cur_loc.column = col; - } } /* Checks if `t` token type is equal to `exp_tok`. This does not eat any token. */