Surround command-line queries with implicit parens

This commit is contained in:
John Wiegley 2009-02-14 05:33:29 -04:00
parent 7bbca2bff5
commit 67d63366cb

View file

@ -184,7 +184,7 @@ string args_to_predicate_expr(value_t::sequence_t::const_iterator begin,
begin++;
}
return expr.str();
return std::string("(") + expr.str() + ")";
}
} // namespace ledger