autoconf/tests
Paolo Bonzini 250422b094 Rewrite handling of diversion and expansion stack.
* NEWS: Document stricter requirement on m4_init.
* lib/m4sugar/m4sugar.m4 (m4_divert_stack): New, replacing
_m4_divert_n_stack.
(_m4_divert_stack_push): New.
(m4_divert): Use _m4_divert_stack_push and replace m4_define with
m4_popdef.
(m4_divert_push): Use _m4_divert_stack_push.
(m4_divert_pop): Use m4_divert_stack instead of _m4_divert_n_stack,
pop _m4_divert_stack instead of m4_divert_stack.
(m4_expansion_stack): New.  Update comment above it.
(m4_expansion_stack_push, m4_expansion_stack_pop): Work on
_m4_expansion_stack instead of m4_expansion_stack.
(m4_expansion_stack_dump): Check presence of _m4_expansion_stack
instead of m4_expansion_stack.  Use m4_expansion_stack's expansion
instead of the definition, and compensate for the trailing newline
in the expansion.
(m4_warn, _m4_defun_pro, _m4_defun_epi): Check presence of
_m4_expansion_stack instead of m4_expansion_stack.
(m4_newline): Expand first argument after the newline.
(m4_init): Use m4_divert_stack instead of _m4_divert_n_stack,
* tests/m4sugar.at (m4_append, m4_text_wrap): Invoke m4_init.
* tests/tools.at (whitespace in file names, the empty token): Likewise.
2008-10-29 08:00:08 +01:00
..
.cvsignore
.gitignore
atlocal.in Work around MSYS and Cygwin bugs when dealing with trailing space. 2008-05-13 13:40:55 -06:00
autoscan.at Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
autotest.at Do not write to testsuite log fd before initialization. 2008-10-08 07:24:06 +02:00
base.at Avoid testsuite bug in presence of verbose config.site. 2008-09-10 14:06:33 -06:00
c.at Fix autoheader 2.62 regression on AC_DEFINE([__EXTENSIONS__]). 2008-08-06 18:39:29 -06:00
compile.at Ensure actions can look at conftest* files. 2008-10-23 18:02:14 +02:00
foreign.at Avoid shell parse errors after interrupt due to empty ``. 2008-08-19 23:00:51 +02:00
fortran.at Format warning and error messages to match GCS. 2008-08-22 08:51:53 +02:00
local.at Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
m4sh.at Add AS_VAR_ARITH. 2008-10-27 16:11:56 -06:00
m4sugar.at Rewrite handling of diversion and expansion stack. 2008-10-29 08:00:08 +01:00
Makefile.am
mktests.sh Fix testsuite failure. 2008-10-22 05:16:58 -06:00
semantics.at Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
suite.at Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
tools.at Rewrite handling of diversion and expansion stack. 2008-10-29 08:00:08 +01:00
torture.at Use AS_VAR_ARITH. 2008-10-27 16:11:59 -06:00
wrapper.as Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00