summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index f61b793..0acb65e 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1229,6 +1229,10 @@ class Kconfig(object):
continue
sym = syms[name]
+ if not sym.nodes:
+ self._undef_assign(name, "n", filename, linenr)
+ continue
+
if sym.orig_type not in _BOOL_TRISTATE:
continue