From e81a77bdb0687b62f91d7dc4d5b84b443808c0a7 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 24 May 2019 12:14:31 +0200 Subject: Consistently put direct deps. last when propagating Preparation for some later additions. Previously, the 'visible if' deps appeared to the right of the 'depends on' deps. Now, the direct deps always appear last. With this change, the prompt tuple is only updated once for any given menu node too, which should be a tiny bit faster. --- tests/Kstr | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/Kstr b/tests/Kstr index 25c14db..58d25e6 100644 --- a/tests/Kstr +++ b/tests/Kstr @@ -36,6 +36,7 @@ if DEP3 menu "foo" depends on DEP4 + visible if VIS config ADVANCED help @@ -43,6 +44,10 @@ config ADVANCED depends on A || !B || (C && D) || !(E && F) || G = H || \ (I && !J && (K || L) && !(M || N) && O = P) +config ADVANCED + # Used to verify that the direct dependencies appear to the right of VIS + prompt "prompt 4" + endmenu endif -- cgit v1.2.3