[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make_argv_ref_token: Assertion `!chain->next && chain->type == CHAIN
From: |
Eric Blake |
Subject: |
Re: make_argv_ref_token: Assertion `!chain->next && chain->type == CHAIN_ARGV && !chain->u.u_a.skip_last' failed. |
Date: |
Thu, 6 Mar 2008 22:54:41 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
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