summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-16 04:09:21 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-16 04:09:21 -0500
commit7462d09b214f2497d9d41a24f4fa8a4dd1577aba (patch)
tree639ef9fe4dea88d815a35efacbc0c120cba78648 /src/query.cc
parent20c076dff92806c6c2aae7c0c87b000ffc703382 (diff)
downloadfork-ledger-7462d09b214f2497d9d41a24f4fa8a4dd1577aba.tar.gz
fork-ledger-7462d09b214f2497d9d41a24f4fa8a4dd1577aba.tar.bz2
fork-ledger-7462d09b214f2497d9d41a24f4fa8a4dd1577aba.zip
Correct parsing of automated xact expressions
Fixes #458
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.cc b/src/query.cc
index 8bdabb38..3fec708a 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -146,7 +146,7 @@ query_t::lexer_t::next_token(query_t::lexer_t::token_t::kind_t tok_context)
case '\t':
case '\n':
case '\r':
- if (! multiple_args && ! consume_whitespace)
+ if (! multiple_args && ! consume_whitespace && ! consume_next_arg)
goto test_ident;
else
ident.push_back(*arg_i);