Remove inheritance link btwn PreparedGrammar and Grammar
This commit is contained in:
parent
11acc7d087
commit
e105f5cebc
11 changed files with 70 additions and 53 deletions
|
|
@ -266,7 +266,7 @@ namespace tree_sitter {
|
|||
|
||||
string ubiquitous_symbols_list() {
|
||||
string result = "UBIQUITOUS_SYMBOLS = {\n";
|
||||
for (auto &symbol : syntax_grammar.options.ubiquitous_tokens)
|
||||
for (auto &symbol : syntax_grammar.ubiquitous_tokens())
|
||||
result += indent("[" + symbol_id(symbol) + "] = 1,") + "\n";
|
||||
return result + "};";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue