Add current position to lexer debug message
This commit is contained in:
parent
1829b34c6f
commit
c885eea706
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ static void ts_lexer__get_lookahead(TSLexer *self) {
|
|||
}
|
||||
|
||||
static void ts_lexer__start(TSLexer *self, TSStateId lex_state) {
|
||||
DEBUG("start_lex state:%d", lex_state);
|
||||
DEBUG("start_lex state:%d, pos:%lu", lex_state, self->current_position.chars);
|
||||
DEBUG_LOOKAHEAD();
|
||||
|
||||
if (!self->chunk)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue