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