Generate parse tables and code using pre-processed grammars
This commit is contained in:
parent
2621f06315
commit
2afd8843dc
27 changed files with 272 additions and 285 deletions
|
|
@ -47,7 +47,7 @@ namespace tree_sitter {
|
|||
}
|
||||
|
||||
sym_ptr sym(const string &name) {
|
||||
return make_shared<Symbol>(name);
|
||||
return make_shared<NonTerminal>(name);
|
||||
}
|
||||
|
||||
rule_ptr token(const std::string &name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue