|Dibyendu Majumdar d022074ae6||6 months ago|
|README.md||6 months ago|
|defer_statement_for_Lua_5_3.patch||1 year ago|
|defer_statement_for_Lua_5_4.patch||1 year ago|
|defer_statement_patch_for_Lua_5_4_3.patch||6 months ago|
These patches are for Lua 5.3 and 5.4.
The 'defer' patch adds the defer statement to Lua.
Note that in Lua 5.4 versions prior to 5.4.3 a deferred closure may be called more than once just as the close method of a to-be-closed variable may be called more than once, when exiting the scope.
I think this is fixed in Lua 5.4.3.
The original patch for 5.4 is applicable to versions prior to 5.4.3. The 5.4.3 version has a new approach to the implementation of toclose values, hence a new patch had to be created.