Can a pushdef pop itself dependably?

Jack Woehr <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
    $ cat popself.m4 
    define(`foo', `bar')dnl
    pushdef(`foo', `arf popdef(`foo') foo and then goodbye.
    m4exit')dnl
    $ gm4 popself.m4 -
    foo
    arf  bar and then goodbye.
    $


Can I depend on this sort of behavior ... that a pushdef can pop itself 
in the middle
and the revealed definition execute and the popped def finishes off 
before vanishing?

-- 
Jack J. Woehr            # "Self-delusion is
http://www.well.com/~jax #  half the battle!"
http://www.softwoehr.com #  - Zippy the Pinhead
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.