From b5a972d1a0b12bb55f16af9f57166a779823bc7f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 02:51:09 -0400 Subject: The -n option for bal command is working again The fix was that when appending new predicates, enclosed both sides of the AND with parentheses. --- src/report.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 809d0f5b..2007d29c 100644 --- a/src/report.h +++ b/src/report.h @@ -278,7 +278,7 @@ public: if (! handled) on(text); else - on(string("(") + str() + ")&" + text); + on(string("(") + str() + ")&(" + text + ")"); } DO_(args) { append(args[0].to_string()); @@ -345,7 +345,7 @@ public: if (! handled) on(text); else - on(string("(") + str() + ")&" + text); + on(string("(") + str() + ")&(" + text + ")"); } DO_(args) { append(args[0].to_string()); @@ -373,7 +373,7 @@ public: if (! handled) on(text); else - on(string("(") + str() + ")&" + text); + on(string("(") + str() + ")&(" + text + ")"); } DO_(args) { append(args[0].to_string()); -- cgit v1.2.3