|
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