summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-17 21:30:07 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-17 21:51:51 -0500
commitc28d828d8e24fe637a74674bedc9bc0cbdabca1c (patch)
tree5b549d4af694193d950162890ae1c5150a24b73a /src/query.cc
parent4bc830a2c526cad108695104503f377997e14e7e (diff)
downloadfork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.tar.gz
fork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.tar.bz2
fork-ledger-c28d828d8e24fe637a74674bedc9bc0cbdabca1c.zip
Renamed date_interval_t::end to finish
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/query.cc b/src/query.cc
index bf4eb62a..2d6085fa 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -263,12 +263,12 @@ query_t::parser_t::parse_query_term(query_t::lexer_t::token_t::kind_t tok_contex
node->set_right(arg1);
}
- if (interval.end) {
+ if (interval.finish) {
expr_t::ptr_op_t lt = new expr_t::op_t(expr_t::op_t::O_LT);
lt->set_left(ident);
expr_t::ptr_op_t arg1 = new expr_t::op_t(expr_t::op_t::VALUE);
- arg1->set_value(*interval.end);
+ arg1->set_value(*interval.finish);
lt->set_right(arg1);
if (node) {