From d4d7090f3c673f092fdc2bba54e41582c85cff8b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 8 Feb 2009 21:15:22 -0400 Subject: Perhaps expr_t objects to remember their scope "context". --- src/op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/op.h') diff --git a/src/op.h b/src/op.h index 850e86b7..7af4ff64 100644 --- a/src/op.h +++ b/src/op.h @@ -262,7 +262,7 @@ private: public: ptr_op_t compile(scope_t& scope); - value_t calc(scope_t& scope, ptr_op_t * context = NULL); + value_t calc(scope_t& scope, ptr_op_t * locus = NULL); struct context_t { @@ -314,7 +314,7 @@ inline expr_t::ptr_op_t expr_t::op_t::wrap_functor(const function_t& fobj) { #define WRAP_FUNCTOR(x) expr_t::op_t::wrap_functor(x) string op_context(const expr_t::ptr_op_t op, - const expr_t::ptr_op_t goal = NULL); + const expr_t::ptr_op_t locus = NULL); } // namespace ledger -- cgit v1.2.3