Silence another false positive expand-before-require.
commit9c4c7c5ca4974debb0e8774455b988396ac14c06
authorEric Blake <ebb9@byu.net>
Wed, 28 Jan 2009 18:01:42 +0000 (28 11:01 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 28 Jan 2009 22:08:11 +0000 (28 15:08 -0700)
tree060c9d3e6738efd76798abfd55a12416574d77c6
parentaa30765d64d4a50ad7ce83e78b5699223571ef36
Silence another false positive expand-before-require.

* lib/m4sugar/m4sugar.m4 (_m4_defun_pro_outer)
(_m4_defun_epi_outer, _m4_require_call, m4_provide): Track name
that caused a diversion change, not just diversion number.
(m4_require): Factor...
(_m4_require_check): ...into new macro, which also checks whether
diversion that performed the expansion has been collected.
* tests/m4sugar.at (m4@&t@_require: nested): Enhance test.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/m4sugar/m4sugar.m4
tests/m4sugar.at