From ee396957226e2273bc60ede7192c27038c432f24 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 24 Jul 2008 11:36:40 -0400 Subject: Parsing now works again. And there was much rejoicing. --- valexpr.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'valexpr.cc') diff --git a/valexpr.cc b/valexpr.cc index 2c087aa3..645cfec3 100644 --- a/valexpr.cc +++ b/valexpr.cc @@ -87,7 +87,7 @@ value_t scope_t::resolve(const string& name) { if (definition) return definition->calc(*this); else - return value_t(); + return NULL_VALUE; } void symbol_scope_t::define(const string& name, ptr_op_t def) @@ -135,7 +135,7 @@ namespace { temp.reset(expr); } else { temp.reset(new op_t(op_t::VALUE)); - temp->set_value(value_t()); + temp->set_value(NULL_VALUE); expr->compute(temp->as_value_lval(), details, context); } } else { -- cgit v1.2.3