summaryrefslogtreecommitdiff
path: root/src/op.cc
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.cc
parent19694cf2a2986849048ab01fbbfda7f0b9ee102a (diff)
downloadfork-ledger-011f35b730817034168369be1a7bd62b31146b64.tar.gz
fork-ledger-011f35b730817034168369be1a7bd62b31146b64.tar.bz2
fork-ledger-011f35b730817034168369be1a7bd62b31146b64.zip
Implemented expr_context.
Diffstat (limited to 'src/op.cc')
-rw-r--r--src/op.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op.cc b/src/op.cc
index 7f44ac16..53f5b9e6 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -490,7 +490,8 @@ void expr_t::op_t::dump(std::ostream& out, const int depth) const
}
}
-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)
{
ostream_pos_type start_pos, end_pos;
expr_t::op_t::context_t context(op, goal, &start_pos, &end_pos);