summaryrefslogtreecommitdiff
path: root/examples/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-09-25 20:25:06 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-09-26 11:52:22 +0200
commit720ce88a839cc9966d4b5dfbcdbe868c33cb5965 (patch)
tree501e70c5a3a21c48dec091832971fde91d666b64 /examples/kconfiglib.py
parentf2ce282eca6537210d83f9f0d2c753c2b280943c (diff)
Fix handling of parentheses in macro argument values
As an oversight, there was no check for nested parentheses in macro arguments, making the preprocessor think the call ended after 'void)' in def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null) This broke the latest linux-next kernels, starting with commit eb111869301e1 ("compiler-types.h: add asm_inline definition"). I remember seeing this when going through the C code, but somehow forgot to put it in. Fix it, and clean up _expand_macro() a bit at the same time. Fixes: #76
Diffstat (limited to 'examples/kconfiglib.py')
0 files changed, 0 insertions, 0 deletions