Separate concepts of hidden and auxiliary symbols
This way, we can hide auxiliary symbols from library users, but still allow them to use hidden symbols
This commit is contained in:
parent
49ad910474
commit
acad97cfd2
13 changed files with 154 additions and 131 deletions
|
|
@ -14,8 +14,8 @@ namespace tree_sitter {
|
|||
|
||||
namespace build_tables {
|
||||
static int NOT_FOUND = -1;
|
||||
static Symbol START("start", true);
|
||||
static Symbol END_OF_INPUT("end", true);
|
||||
static Symbol START("start", rules::SymbolTypeAuxiliary);
|
||||
static Symbol END_OF_INPUT("end", rules::SymbolTypeAuxiliary);
|
||||
|
||||
class TableBuilder {
|
||||
const Grammar grammar;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue