diff options
Diffstat (limited to 'src/report.h')
-rw-r--r-- | src/report.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/report.h b/src/report.h index 98b60ce1..6142a289 100644 --- a/src/report.h +++ b/src/report.h @@ -619,10 +619,14 @@ public: } #endif - value_t option_limit_(call_scope_t& args) { // l: + void append_predicate(const string& str) { if (! predicate.empty()) - predicate += "&"; - predicate += args[0].as_string(); + predicate = string("(") + predicate + ")&"; + predicate += str; + } + + value_t option_limit_(call_scope_t& args) { // l: + append_predicate(args[0].as_string()); return true; } |