diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2022-09-17 19:43:46 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-09-17 19:44:46 -0700 |
commit | df62fad153142de953372a5744995ee3bfae5a02 (patch) | |
tree | 34871329d4f40a609dab161fed13695170f41e5e /lib | |
parent | 30bf5c49825ec2092c63b8519678e3e06148a8b5 (diff) | |
download | autoconf-df62fad153142de953372a5744995ee3bfae5a02.tar.gz |
Improve comment in previous change
Diffstat (limited to 'lib')
-rw-r--r-- | lib/m4sugar/m4sh.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
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) |