autoconf/lib
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
..
autoconf Undo needless efforts to protect $2 in $2_t. 2008-10-28 20:45:58 -06:00
Autom4te Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
autoscan Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
autotest Fix parallel test execution output lossage. 2008-10-28 22:45:12 +01:00
emacs Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
m4sugar Rewrite handling of diversion and expansion stack. 2008-10-29 08:00:08 +01:00
.cvsignore Extend. 2001-09-17 21:11:22 +00:00
.gitignore Prepare for conversion to git. 2007-09-14 22:25:56 +00:00
autom4te.in Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
freeze.mk Use GPLv2+ plus exception as license for release. 2008-04-05 17:04:48 -06:00
Makefile.am Reword the copyright notices to match what's suggested in GPLv3. 2007-07-20 23:11:49 +00:00