summaryrefslogtreecommitdiff
path: root/examples/menuconfig_example.py
diff options
context:
space:
mode:
authorLeandro Lanzieri <leandro.lanzieri@haw-hamburg.de>2024-08-26 12:19:20 +0200
committerTorsten Tejlmand Rasmussen <torsten.rasmussen@nordicsemi.no>2025-10-21 15:57:55 +0200
commitc3f78659b886f81b7b5898497c9aa94dc634aef2 (patch)
tree4adf9ba918f12a5dd90a1ccdb9b2554600973956 /examples/menuconfig_example.py
parent407b92b8e35601d1f4a2a2925996bf4d61b2f5cd (diff)
kconfiglib: check empty strings on macro expansion
During macro expansion, bare macros on a line are accepted by the parser as long as they resolve to blank strings. The problem is that the script is currently checking using isspace, so it's actually not checking for blank strings. This causes the parsing to fail when a macro is the last line of a file, and no newline character is added afterwards. This patch adds a check for the string itself being empty.
Diffstat (limited to 'examples/menuconfig_example.py')
0 files changed, 0 insertions, 0 deletions