parent
2dc63f2c30
commit
4cbc4b8bcf
2 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ static bool ts_lexer__advance(TSLexer *self, TSStateId state) {
|
|||
|
||||
if (self->lookahead == '\n') {
|
||||
self->current_point.row += 1;
|
||||
self->current_point.column = 1;
|
||||
self->current_point.column = 0;
|
||||
} else {
|
||||
self->current_point.column += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue