summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-07-31 19:06:33 +0000
committerrillig <rillig@NetBSD.org>2020-07-31 19:06:33 +0000
commit9bac0ba61f8cb75b2d5ec1c29cfd69b4c2ef688c (patch)
tree59974afa0947a353e1eeb79d7772035c5cc80d80 /sys/dev/raidframe
parent9bf1d26d9f2f84ee70d95f1f23c932aa2e067be6 (diff)
make(1): fix parsing of nested braces in dependency lines
Before, make could not parse {{thi,fou}r,fif}teen properly. It did correctly split up the outer brace into "" + "{thi,fou}r,fif" + "teen", but then, when expanding the inner braces, it interpreted the first comma already as a separator, even though this comma was enclosed in another set of braces. This resulted in the wrong expansion "{thiteen", which produced the error message. The next word "fouteen" was produced since the parser stopped at the next closing brace. After this, parsing continued after the closing brace, producing "rteen". Finally, the last expansion was the correct "fifteen".
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions