start column at 0 again
This commit is contained in:
parent
fc49a3949a
commit
a85b7fe3c4
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ static bool ts_lexer__advance(TSLexer *self, TSStateId state) {
|
|||
|
||||
if (self->lookahead == '\n') {
|
||||
self->current_source_info.line += 1;
|
||||
self->current_source_info.column = 1;
|
||||
self->current_source_info.column = 0;
|
||||
} else {
|
||||
self->current_source_info.column += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue