diff options
Diffstat (limited to 'src/expr/declaration_scope.h')
-rw-r--r-- | src/expr/declaration_scope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/declaration_scope.h b/src/expr/declaration_scope.h index 9acc46b5f..17140c850 100644 --- a/src/expr/declaration_scope.h +++ b/src/expr/declaration_scope.h @@ -77,7 +77,7 @@ public: * @param name an identifier * @param obj the expression to bind to <code>name</code> */ - void bind(const std::string& name, Expr obj) throw(); + void bind(const std::string& name, Expr obj) throw(AssertionException); /** * Bind a function body to a name in the current scope. If @@ -90,7 +90,7 @@ public: * @param name an identifier * @param obj the expression to bind to <code>name</code> */ - void bindDefinedFunction(const std::string& name, Expr obj) throw(); + void bindDefinedFunction(const std::string& name, Expr obj) throw(AssertionException); /** * Bind a type to a name in the current scope. If <code>name</code> |