summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index e490d48..56f9efa 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -4429,7 +4429,8 @@ def expr_items(expr):
def rec(subexpr):
if isinstance(subexpr, tuple):
- # AND, OR, NOT or relation
+ # AND, OR, NOT, or relation
+
rec(subexpr[1])
# NOTs only have a single operand
@@ -4567,7 +4568,8 @@ def _make_depend_on(sc, expr):
# anyway.
if isinstance(expr, tuple):
- # AND, OR, NOT or relation
+ # AND, OR, NOT, or relation
+
_make_depend_on(sc, expr[1])
# NOTs only have a single operand