]> git.draconx.ca Git - dxcommon.git/commit
DX_C_ALIGNAS: Work around bash-5 parsing bug. master
authorNick Bowler <nbowler@draconx.ca>
Thu, 11 Apr 2024 00:57:36 +0000 (20:57 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 11 Apr 2024 00:57:36 +0000 (20:57 -0400)
commit419ef0274998c19b8c46b0f511bf44f49a514670
tree782267884d40e63fe9b4c74793ae5f0f5b56a2cc
parentf5df895ced92ac539cafd825efee98835d8bf0d3
DX_C_ALIGNAS: Work around bash-5 parsing bug.

Apparently bash-5 and later versions fail to parse for loops with
a newline before the 'in' keyword, if that loop itself is in a case.
statement.

Previous versions of bash have no such problem, nor does any other
shell I've tried, but the workaround is simple enough.
m4/align.m4