m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: expansion


From: Jack Woehr
Subject: Re: expansion
Date: Sun, 29 Nov 2009 20:17:58 -0700
User-agent: Thunderbird 2.0.0.12 (X11/20080921)

Josef Vukovic wrote:
define(foo,bar)
define(foo,baz)
I think you mean define(bar,baz)
So is there a way to stop macroexpansion after foo has expanded to bar?
Generally, what you are asking doesn't make much sense in m4. In what context? There is no builtin called expand_two_levels_maybe_unless_I_do_not_want_it_today() :)

You might create an example session and show what you are trying to accomplish
and then a path might become clear to reaching your goal.


--
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_





reply via email to

[Prev in Thread] Current Thread [Next in Thread]