summaryrefslogtreecommitdiff
path: root/src/expr/declaration_scope.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-04-20 11:19:50 +0000
committerMorgan Deters <mdeters@gmail.com>2011-04-20 11:19:50 +0000
commit2499bd64a5ac688573ebbcd6114983f64a8094eb (patch)
tree0d49608cf7c21298fbeb8606fa1943c96beb8652 /src/expr/declaration_scope.cpp
parent5a98094e8eee680d4f489e901107dfc484a1679f (diff)
numerous bugfixes
Diffstat (limited to 'src/expr/declaration_scope.cpp')
-rw-r--r--src/expr/declaration_scope.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr/declaration_scope.cpp b/src/expr/declaration_scope.cpp
index cfcc62335..8dd329b83 100644
--- a/src/expr/declaration_scope.cpp
+++ b/src/expr/declaration_scope.cpp
@@ -72,6 +72,10 @@ bool DeclarationScope::isBoundDefinedFunction(const std::string& name) const thr
return found != d_exprMap->end() && d_functions->contains((*found).second);
}
+bool DeclarationScope::isBoundDefinedFunction(Expr func) const throw() {
+ return d_functions->contains(func);
+}
+
Expr DeclarationScope::lookup(const std::string& name) const throw(AssertionException) {
return (*d_exprMap->find(name)).second;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback