summaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
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);