diff options
| author | Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de> | 2024-08-26 12:19:20 +0200 |
|---|---|---|
| committer | Torsten Tejlmand Rasmussen <torsten.rasmussen@nordicsemi.no> | 2025-10-21 15:57:55 +0200 |
| commit | c3f78659b886f81b7b5898497c9aa94dc634aef2 (patch) | |
| tree | 4adf9ba918f12a5dd90a1ccdb9b2554600973956 /setup.cfg | |
| parent | 407b92b8e35601d1f4a2a2925996bf4d61b2f5cd (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 'setup.cfg')
0 files changed, 0 insertions, 0 deletions
