Make start and EOF symbols into builtin symbols
This commit is contained in:
parent
8b7ed13c8b
commit
0d4687bdad
9 changed files with 288 additions and 305 deletions
|
|
@ -59,7 +59,7 @@ namespace tree_sitter {
|
|||
if (symbol == rules::ERROR)
|
||||
return "ts_builtin_sym_error";
|
||||
else
|
||||
return "unexpected_built_in_sym!";
|
||||
return "ts_builtin_sym_end";
|
||||
} else if (symbol.is_auxiliary())
|
||||
return "ts_aux_sym_" + symbol.name;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue