diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-08 21:15:22 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-08 21:15:22 -0400 |
commit | d4d7090f3c673f092fdc2bba54e41582c85cff8b (patch) | |
tree | de89e646001580cd1a3b1b6e9f87ca1b9654683e /src/op.h | |
parent | 431c950c75c2046864abfde0175219d13ce1fb84 (diff) | |
download | fork-ledger-d4d7090f3c673f092fdc2bba54e41582c85cff8b.tar.gz fork-ledger-d4d7090f3c673f092fdc2bba54e41582c85cff8b.tar.bz2 fork-ledger-d4d7090f3c673f092fdc2bba54e41582c85cff8b.zip |
Perhaps expr_t objects to remember their scope "context".
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |