From 2d5ad7dee89ebe9c014270882e44d3a7a8a626fd Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 8 Feb 2009 04:30:05 -0400 Subject: Added support for value expression definitions. Example: ] expr f(x) := x + 100 ] expr f(100) 200 --- src/session.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/session.cc') diff --git a/src/session.cc b/src/session.cc index fad51da3..5dbd5593 100644 --- a/src/session.cc +++ b/src/session.cc @@ -206,7 +206,8 @@ expr_t::ptr_op_t session_t::lookup(const string& name) } break; } - return NULL; + + return symbol_scope_t::lookup(name); } } // namespace ledger -- cgit v1.2.3