summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/predicate.cc2
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;