mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-04 10:49:55 +00:00
improve col_offset in new line and lalr
This commit is contained in:
parent
de7acf6f99
commit
1dfa2e5239
6 changed files with 34 additions and 34 deletions
|
@ -56,7 +56,7 @@ impl Location {
|
|||
|
||||
pub fn newline(&mut self) {
|
||||
self.row += 1;
|
||||
self.column = 1;
|
||||
self.column = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue