From df62fad153142de953372a5744995ee3bfae5a02 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 17 Sep 2022 19:43:46 -0700 Subject: [PATCH 2/2] Improve comment in previous change --- lib/m4sugar/m4sh.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index b6714356..01d3b5d6 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -59,6 +59,10 @@ # DIVERSION-NAME which is supposed to be an actual diversion number. # Of course it would be nicer to use m4_case here, instead of zillions # of little macros, but it then takes twice longer to run 'autoconf'! +# BINSH is 1, not 0, so that user code can m4_cleardivert([BINSH]) and +# then generate its own BINSH; m4's special treatment of diversion 0 +# would not allow that if BINSH were 0. Leave an undocumented gap +# between BINSH and HEADER-REVISION for possible future extensions. m4_define([_m4_divert(BINSH)], 1) m4_define([_m4_divert(HEADER-REVISION)], 3) m4_define([_m4_divert(HEADER-COMMENT)], 4) -- 2.37.3