]> git.ipfire.org Git - thirdparty/autoconf.git/commit
doc: fix an infinitely recursing example
authorQuinn Grier <quinn.grier@gmail.com>
Wed, 2 Nov 2016 05:58:25 +0000 (00:58 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 2 Nov 2016 17:19:14 +0000 (12:19 -0500)
commitb2621a91d70e5c86f4fbdce25eeb0f83df6645b6
tree1ce57c2798d4ebae1fd0702837b9b5a0ccf1aa63
parent251cc70252107e09e885044816a9ef27cf089159
doc: fix an infinitely recursing example

The "single" macro infinitely recurses because its expansion contains
the unquoted text " single-". The "double" macro almost has the same
problem, but it is protected by extra quotes. In any case, the macro
names being repeated in the macro definitions is not necessary.

This commit changes the macro names to "foo" and "bar", which are taken
from a very similar example in the GNU M4 1.4.17 manual. See lines 1971
to 1980 of v1.4.17:doc/m4.texi in the GNU M4 Git repository.

* doc/autoconf.texi (Quoting and Parameters): Fix broken example.
doc/autoconf.texi