Remove LEX_PANIC macro

This commit is contained in:
Max Brunsfeld 2014-08-26 13:12:12 -07:00
parent 0470b34f2f
commit 346cf4fe5d
6 changed files with 5 additions and 11 deletions

View file

@ -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 } \