Re: expansion

Jack Woehr <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
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_
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.