summaryrefslogtreecommitdiff
path: root/src/ast/ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge (sonata) <tpg@mutabah.net>2015-01-05 14:01:17 +0800
committerJohn Hodge (sonata) <tpg@mutabah.net>2015-01-05 14:01:17 +0800
commit9cabbe613eb4cff9101d1b8a5757038f59570e97 (patch)
tree8b752490eda24cd77743d8a54198fdb1298f31f0 /src/ast/ast.cpp
parenteac8e3d68b9ca67f97c1f9aedef01e8e93cde323 (diff)
downloadmrust-9cabbe613eb4cff9101d1b8a5757038f59570e97.tar.gz
Parser - Handle methods correctly
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r--src/ast/ast.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp
index 438aa2cd..fe6f2add 100644
--- a/src/ast/ast.cpp
+++ b/src/ast/ast.cpp
@@ -220,6 +220,10 @@ void ExprNode_CallPath::visit(NodeVisitor& nv) {
nv.visit(*this);
}
+void ExprNode_CallMethod::visit(NodeVisitor& nv) {
+ nv.visit(*this);
+}
+
void ExprNode_CallObject::visit(NodeVisitor& nv) {
nv.visit(*this);
}