Tweak debugging output
This commit is contained in:
parent
e5ea4efb0b
commit
6d37877e49
3 changed files with 10 additions and 11 deletions
|
|
@ -96,7 +96,9 @@ struct TSLanguage {
|
|||
DEBUG_LEX((0 < lookahead &&lookahead <= 255 ? "CHAR '%c'" : "CHAR %d"), \
|
||||
lookahead);
|
||||
|
||||
#define START_TOKEN() ts_lexer_start_token(lexer);
|
||||
#define START_TOKEN() \
|
||||
DEBUG_LEX("START TOKEN %lu", lexer->current_position.chars); \
|
||||
ts_lexer_start_token(lexer);
|
||||
|
||||
#define ADVANCE(state_index) \
|
||||
{ \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue