Re: expansion

Jack Woehr <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
Josef Vukovic wrote:
>
> define(`foo',`foo is not bar') this cause a infinite loop.
OH!!!

Yes, that's a very important use case that we all encounter. Correct is:

define(`foo',``foo' is not `bar'')

The answer to this sort of thing is always more levels of quoting.

I don't think anyone on the list quite understood your question, so please
excuse that I cc: the list to close the issue in people's minds.

-- 
Jack J. Woehr            # «'I know what "it" means well enough, when I find
http://www.well.com/~jax # a thing,' said the Duck: 'it's generally a frog or
http://www.softwoehr.com # a worm.'» - Lewis Carroll, _Alice in Wonderland_
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.