[Top][All Lists]

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

Can a pushdef pop itself dependably?

From: Jack Woehr
Subject: Can a pushdef pop itself dependably?
Date: Tue, 28 Oct 2008 03:21:58 -0600
User-agent: Thunderbird (X11/20080921)

$ cat popself.m4 define(`foo', `bar')dnl
   pushdef(`foo', `arf popdef(`foo') foo and then goodbye.
   $ gm4 popself.m4 -
   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

reply via email to

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