diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-08 13:07:41 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-08 13:07:41 +0100 |
| commit | 6f3163095edb7663a1186963c3b2dcb520e06a64 (patch) | |
| tree | c71a3c8affa7f250c47ac0c40b178d10808bc22d | |
| parent | 6c7c7d00b157dbb2bb77d1e1f36cef1ac93ddfea (diff) | |
Give hint about recognizing undefined symbols
| -rw-r--r-- | kconfiglib.py | 5 |
1 files changed, 4 insertions, 1 deletions
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: |
