End-of-scope actions: POST blocks.

2001-02-12 Thread Tony Olekshy
Nicholas Clark wrote: It makes them far more useful as tidy up things if they are tacked on at runtime, not compile time. If I understand, it is proposed that code like this: { Alpha; POST { Beta }; Gamma; POST { Delta }; Epsilon; } will

Re: End-of-scope actions: POST blocks.

2001-02-12 Thread James Mastros
On Mon, Feb 12, 2001 at 01:58:57PM -0700, Tony Olekshy wrote: - It does have in-flow presence, so it doesn't suffer from the problem that "always" has; POST is a statement, not a dangling clause. That fixes my main complaint with RFC 119. On the other hand, now there's nothing

Re: End-of-scope actions: POST blocks.

2001-02-12 Thread Tony Olekshy
"David L. Nicol" wrote: POST{stuff} is a macro for push (my) @Deferred_stuff, sub {stuff}; # my on first use in a space Since the reference implementation requires try, @Deferred_stuff is actually try's argument list (a bunch of tagged catch and finally blocks). The "my" is provided by