From 6f3163095edb7663a1186963c3b2dcb520e06a64 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 8 Feb 2018 13:07:41 +0100 Subject: Give hint about recognizing undefined symbols --- kconfiglib.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kconfiglib.py b/kconfiglib.py index 400ef7d..0e19957 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -341,6 +341,9 @@ class Kconfig(object): includes all symbols that are referenced in expressions but never defined, except for constant (quoted) symbols. + Undefined symbols can be recognized by Symbol.nodes being empty -- see + the 'Intro to the menu tree' section in the module docstring. + const_syms: A dictionary like 'syms' for constant (quoted) symbols. @@ -854,7 +857,7 @@ class Kconfig(object): single assignment is written out corresponding to the first location where the symbol is defined. - See the 'Intro to symbol values' section in the modules docstring to + See the 'Intro to symbol values' section in the module docstring to understand which symbols get written out. filename: -- cgit v1.2.3