improve col_offset in new line and lalr

This commit is contained in:
dvermd 2022-10-19 23:45:24 +02:00
parent d5a208ca9d
commit a5b59f3c9d
6 changed files with 34 additions and 34 deletions

View file

@ -56,7 +56,7 @@ impl Location {
pub fn newline(&mut self) {
self.row += 1;
self.column = 1;
self.column = 0;
}
}