diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-24 11:36:40 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-24 11:36:40 -0400 |
commit | ee396957226e2273bc60ede7192c27038c432f24 (patch) | |
tree | e87839dd6949461f5e3c9fb34071e7cea412b761 /valexpr.cc | |
parent | 171f79dda268b59d708f5002d1d616a71a30ecb5 (diff) | |
download | fork-ledger-ee396957226e2273bc60ede7192c27038c432f24.tar.gz fork-ledger-ee396957226e2273bc60ede7192c27038c432f24.tar.bz2 fork-ledger-ee396957226e2273bc60ede7192c27038c432f24.zip |
Parsing now works again. And there was much rejoicing.
Diffstat (limited to 'valexpr.cc')
-rw-r--r-- | valexpr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |