summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-08 21:15:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-08 21:15:22 -0400
commitd4d7090f3c673f092fdc2bba54e41582c85cff8b (patch)
treede89e646001580cd1a3b1b6e9f87ca1b9654683e /src/op.h
parent431c950c75c2046864abfde0175219d13ce1fb84 (diff)
downloadfork-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.h4
1 files changed, 2 insertions, 2 deletions
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