diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-06 23:19:24 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-06 23:19:24 -0400 |
commit | 909f7b1aa343c84eccc4ca89c19f632486cf3f43 (patch) | |
tree | 0af059b2114206ab42e4a0781a06557f6c2ca7f6 /src | |
parent | 03dcc07089bd7f16fd4c2c0f7e69003469103b4c (diff) | |
download | fork-ledger-909f7b1aa343c84eccc4ca89c19f632486cf3f43.tar.gz fork-ledger-909f7b1aa343c84eccc4ca89c19f632486cf3f43.tar.bz2 fork-ledger-909f7b1aa343c84eccc4ca89c19f632486cf3f43.zip |
Fixed a command-line parsing bug with "account not account".
Diffstat (limited to 'src')
-rw-r--r-- | src/predicate.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/predicate.cc b/src/predicate.cc index 72b22f97..331e9211 100644 --- a/src/predicate.cc +++ b/src/predicate.cc @@ -45,6 +45,8 @@ string args_to_predicate_expr(value_t::sequence_t::const_iterator begin, bool parse_argument = true; if (arg == "not" || arg == "NOT") { + if (append_and) + expr << " & "; expr << " ! "; parse_argument = false; append_and = false; |