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

@ -330,7 +330,7 @@ class CCodeGenerator {
[&]() { code_for_lex_state(lex_table.states[i]); });
_case("ts_lex_state_error",
[&]() { code_for_lex_state(lex_table.error_state); });
_default([&]() { line("LEX_PANIC();"); });
_default([&]() { line("LEX_ERROR();"); });
});
}