X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1f41899519dcf9dd525b68035baf5bc5ed74efc6..fe22d5d20ff5a88a3a0dba28a11623b235a422ab:/data/m4sugar/m4sugar.m4 diff --git a/data/m4sugar/m4sugar.m4 b/data/m4sugar/m4sugar.m4 index c2d3f7a8..e2eced27 100644 --- a/data/m4sugar/m4sugar.m4 +++ b/data/m4sugar/m4sugar.m4 @@ -432,7 +432,8 @@ m4_define([m4_bmatch], # of LIST (which can be lists themselves, for multiple arguments MACROs). m4_define([m4_fst], [$1]) m4_define([m4_map], -[m4_if([$2], [[]], [], +[m4_if([$2], [], [], + [$2], [[]], [], [$1(m4_fst($2))[]dnl m4_map([$1], m4_cdr($2))])])