diff --git a/patches/README.md b/patches/README.md new file mode 100644 index 0000000..61dbc43 --- /dev/null +++ b/patches/README.md @@ -0,0 +1,6 @@ +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 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 am checking why Lua 5.4 behaves this way. \ No newline at end of file