Record parse conflicts when compiling grammars

Need to remove duplicate conflicts
This commit is contained in:
Max Brunsfeld 2014-04-08 18:47:42 -07:00
parent 3982b73ed6
commit f71d7bae16
14 changed files with 246 additions and 167 deletions

View file

@ -113,8 +113,8 @@ SYMBOL_NAMES = {
[ts_aux_sym_token7] = "','",
[ts_aux_sym_token8] = "'.'",
[ts_aux_sym_token9] = "'['",
[ts_builtin_sym_end] = "end",
[ts_builtin_sym_error] = "error",
[ts_builtin_sym_end] = "EOF",
[ts_builtin_sym_error] = "ERROR",
};
HIDDEN_SYMBOLS = {
@ -2010,6 +2010,7 @@ LEX_FN() {
ADVANCE(59);
ACCEPT_TOKEN(ts_sym__terminator);
case ts_lex_state_error:
START_TOKEN();
if (lookahead == '\0')
ADVANCE(1);
if ((lookahead == '\t') ||