Make start and EOF symbols into builtin symbols

This commit is contained in:
Max Brunsfeld 2014-02-26 23:18:49 -08:00
parent 8b7ed13c8b
commit 0d4687bdad
9 changed files with 288 additions and 305 deletions

View file

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