Remove inheritance link btwn PreparedGrammar and Grammar

This commit is contained in:
Max Brunsfeld 2014-06-10 10:30:00 -07:00
parent 11acc7d087
commit e105f5cebc
11 changed files with 70 additions and 53 deletions

View file

@ -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 + "};";
}