Move newline in lexer debugging output
This commit is contained in:
parent
346cf4fe5d
commit
37d5db6fee
1 changed files with 4 additions and 3 deletions
|
|
@ -90,9 +90,10 @@ struct TSLanguage {
|
|||
|
||||
#define LEX_FN() static TSTree *ts_lex(TSLexer *lexer, TSStateId lex_state)
|
||||
|
||||
#define DEBUG_LEX(...) \
|
||||
if (lexer->debug) { \
|
||||
fprintf(stderr, "\n" __VA_ARGS__); \
|
||||
#define DEBUG_LEX(...) \
|
||||
if (lexer->debug) { \
|
||||
fprintf(stderr, __VA_ARGS__); \
|
||||
fprintf(stderr, "\n"); \
|
||||
}
|
||||
|
||||
#define START_LEXER() \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue