summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/query.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/query.cc b/src/query.cc
index 404c101f..907f3fd5 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -53,6 +53,7 @@ query_t::lexer_t::token_t query_t::lexer_t::next_token()
}
}
+ resume:
switch (*arg_i) {
case '\'':
case '"':
@@ -88,7 +89,6 @@ query_t::lexer_t::token_t query_t::lexer_t::next_token()
return tok;
}
- resume:
bool consume_next = false;
switch (*arg_i) {
case ' ':
@@ -125,7 +125,7 @@ query_t::lexer_t::token_t query_t::lexer_t::next_token()
case '\t':
case '\n':
case '\r':
- if (! consume_whitespace)
+ if (! multiple_args && ! consume_whitespace)
goto test_ident;
else
ident.push_back(*arg_i);