Don’t pass rule names to code generator separately from parse tables
This commit is contained in:
parent
b85b15db42
commit
5eb5b61c14
7 changed files with 41 additions and 44 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace tree_sitter {
|
||||
namespace generate_code {
|
||||
std::string c_code(std::string name, std::vector<std::string> rule_names, const ParseTable &parse_table, const LexTable &lex_table);
|
||||
std::string c_code(std::string name, const ParseTable &parse_table, const LexTable &lex_table);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue