commit | b8fed93215a23a3f443c5b0126f0de1725771b44 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Nov 07 10:03:05 2018 -0200 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Wed Nov 07 10:03:05 2018 -0200 |
tree | 1d7d29388b8a20fb7d0920d94b02a8040612314d | |
parent | 5e76a4fd313a8690d300085c4e8fcb9dca50c01a [diff] |
New syntax for to-be-closed variables The new syntax is <local *toclose x = f()>. The mark '*' allows other attributes to be added later without the need of new keywords; it also allows better error messages. The API function was also renamed ('lua_tobeclosed' -> 'lua_toclose').