Remove unused typedef from compiler.h

This commit is contained in:
Max Brunsfeld 2014-02-21 08:23:20 -08:00
parent cdf63b6083
commit 946088bccc
3 changed files with 11 additions and 11 deletions

View file

@ -24,11 +24,7 @@ namespace tree_sitter {
return Choice::Build(rules);
}
rule_ptr pattern(const string &value) {
return make_shared<Pattern>(value);
}
rule_ptr repeat(const rule_ptr content) {
rule_ptr repeat(const rule_ptr &content) {
return std::make_shared<Repeat>(content);
}
@ -36,10 +32,6 @@ namespace tree_sitter {
return Seq::Build(rules);
}
rule_ptr str(const string &value) {
return make_shared<String>(value);
}
rule_ptr sym(const string &name) {
return make_shared<Symbol>(name);
}
@ -47,5 +39,13 @@ namespace tree_sitter {
rule_ptr _sym(const string &name) {
return make_shared<Symbol>(name, SymbolTypeHidden);
}
rule_ptr pattern(const string &value) {
return make_shared<Pattern>(value);
}
rule_ptr str(const string &value) {
return make_shared<String>(value);
}
}
}