Eric Blake <ebb9 <at> byu.net> writes:

> 
> Once I confirm my suspicions, I will add a test case so we don't regress in 
the 
> future.
> 

$ m4
changequote([,])dnl
define(s,[builtin([shift],$@)])dnl
define([i],[ifelse([$2],,[-],[$1$2: $0($1,s(s($@)))])])dnl
i(1)
-
i(1,2)
12: -
i(1,2,3)
12: 13: -
i(1,2,3,4)
assertion "!chain->next && chain->type == CHAIN_ARGV && !chain-u.u_a.skip_last" 
failed: file "../../src/macro.c", line 1324
12: 13: Aborted (core dumped)

Progress!  I now have a (much smaller) example to work with, and which is 
independent of autoconf.  The patch shouldn't be too much longer, now that I 
know what caused the problem.

-- 
Eric Blake




_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4

Reply via email to