]> git.draconx.ca Git - dxcommon.git/commit
Fix underquoting issue in DX_DO.
authorNick Bowler <nbowler@draconx.ca>
Thu, 25 Jan 2018 00:29:52 +0000 (19:29 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 25 Jan 2018 04:45:47 +0000 (23:45 -0500)
commit2e73a3913ac0e08253254477c444aeeb1b815943
treebbd4eaeb44e17857ea22e732b7841fb30aadb012
parent6e86b7cb0de5ef32ab977f0742301ebfd2a4f163
Fix underquoting issue in DX_DO.

The m4_map macro takes a "quoted list of argument descriptions ...
[which are] in turn a quoted list of quoted elements, suitable for
m4_apply."  This is not what actually is being passed in DX_DO,
which is underquoted resulting in various problems.

Add a test case to expose this issue, and switch DX_DO to use
m4_map_args which is a better fit.

Thanks to Eric Blake.
m4/utils.m4
tests/macros.at