[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: Finally statement of function
- From: "David Burgess" <dburgess@...>
- Date: Fri, 9 Feb 2007 23:53:37 +1100
Luasocket implements finalizers by using xpcall() and it does simplify
and shorten the code.
I do like your suggested syntax.
I wonder what it would take to implement it.
Nodir Temirhodzhaev wrote:
funcbody ::= '(' [parlist1] ')' block1 [finally block2] end