From 7245bad9ebb58fc8ce5a322081fc6c39d2dc59c6 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 28 Mar 2018 20:29:20 +0200 Subject: Parenthesize && expressions within || expressions This is redundant from an evaluation perspective, as && has higher precedence than ||, but is easier to read. A && B || C && D is now rendered as "(A && B) || (C && D)". --- testsuite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite.py') diff --git a/testsuite.py b/testsuite.py index 9177efd..5d8780e 100644 --- a/testsuite.py +++ b/testsuite.py @@ -528,10 +528,10 @@ config ADVANCED prompt "prompt 2" menuconfig ADVANCED - prompt "prompt 3" if DEP2 && (DEP3 || !DEP4 || !(DEP5 && DEP6)) + prompt "prompt 3" config ADVANCED - depends on DEP4 && DEP3 + depends on (A || !B || (C && D) || !(E && F) || G = H || (I && !J && (K || L) && !(M || N) && O = P)) && DEP4 && DEP3 help second help text """) -- cgit v1.2.3