Remove LEX_PANIC macro
This commit is contained in:
parent
0470b34f2f
commit
346cf4fe5d
6 changed files with 5 additions and 11 deletions
|
|
@ -125,12 +125,6 @@ struct TSLanguage {
|
|||
return NULL; \
|
||||
}
|
||||
|
||||
#define LEX_PANIC() \
|
||||
{ \
|
||||
DEBUG_LEX("LEX ERROR: unexpected state %d", lex_state); \
|
||||
return NULL; \
|
||||
}
|
||||
|
||||
#define SHIFT(to_state_value) \
|
||||
{ \
|
||||
.type = TSParseActionTypeShift, .data = { .to_state = to_state_value } \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue