summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-07 04:27:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-07 04:27:28 -0400
commit011f35b730817034168369be1a7bd62b31146b64 (patch)
treead5c85c5417278cbb6dd4b1e544e36f6ebc304e0 /src/op.h
parent19694cf2a2986849048ab01fbbfda7f0b9ee102a (diff)
downloadfork-ledger-011f35b730817034168369be1a7bd62b31146b64.tar.gz
fork-ledger-011f35b730817034168369be1a7bd62b31146b64.tar.bz2
fork-ledger-011f35b730817034168369be1a7bd62b31146b64.zip
Implemented expr_context.
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op.h b/src/op.h
index b7ae9430..ad900cc5 100644
--- a/src/op.h
+++ b/src/op.h
@@ -328,7 +328,8 @@ inline expr_t::ptr_op_t expr_t::op_t::wrap_functor(const function_t& fobj) {
#define MAKE_FUNCTOR(x) expr_t::op_t::wrap_functor(bind(&x, this, _1))
#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);
+string op_context(const expr_t::ptr_op_t op,
+ const expr_t::ptr_op_t goal = NULL);
} // namespace ledger