diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-17 18:42:21 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-17 18:42:21 -0400 |
commit | 57ee0f1b7d5d8d528222e92a8fb128f008dff828 (patch) | |
tree | d3970030162e3a2b1e721ffc31e16fbd03797c62 | |
parent | fadab59e87f7a4789e904f8bda73ed26fbbfd9a8 (diff) | |
download | fork-ledger-57ee0f1b7d5d8d528222e92a8fb128f008dff828.tar.gz fork-ledger-57ee0f1b7d5d8d528222e92a8fb128f008dff828.tar.bz2 fork-ledger-57ee0f1b7d5d8d528222e92a8fb128f008dff828.zip |
bug fix
-rw-r--r-- | config.cc | 2 | ||||
-rw-r--r-- | valexpr.cc | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -176,7 +176,7 @@ OPT_BEGIN(end_date, "e:") { OPT_BEGIN(current, "c") { if (! config->predicate.empty()) config->predicate += "&"; - config->predicate += "(d<t)"; + config->predicate += "(d<N)"; } OPT_END(current); OPT_BEGIN(cleared, "C") { @@ -407,8 +407,8 @@ value_expr_t * parse_value_term(std::istream& in) case 'T': node = new value_expr_t(value_expr_t::TOTAL_EXPR); break; // Compound terms - case 'v': node = parse_value_expr("P(t,d)"); break; - case 'V': node = parse_value_term("P(T,d)"); break; + case 'v': node = parse_value_expr("P(a,d)"); break; + case 'V': node = parse_value_term("P(O,d)"); break; case 'g': node = parse_value_expr("v-c"); break; case 'G': node = parse_value_expr("V-C"); break; case 'o': node = parse_value_expr("d-b"); break; |