summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'valexpr.h')
-rw-r--r--valexpr.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/valexpr.h b/valexpr.h
index 2f349dc8..62302a87 100644
--- a/valexpr.h
+++ b/valexpr.h
@@ -603,8 +603,9 @@ class valexpr_context : public error_context {
ptr_op_t error_node;
valexpr_context(const ptr_op_t& _expr,
- const string& desc = "") throw();
- virtual ~valexpr_context() throw();
+ const string& desc = "") throw()
+ : error_context(desc), expr(_expr), error_node(_expr) {}
+ virtual ~valexpr_context() throw() {}
virtual void describe(std::ostream& out) const throw();
};
@@ -624,7 +625,7 @@ class value_expr_error : public error {
virtual ~value_expr_error() throw() {}
};
-extern std::auto_ptr<scope_t> global_scope;
+extern std::auto_ptr<symbol_scope_t> global_scope;
extern datetime_t terminus;
extern bool initialized;