Go to file
Roberto Ierusalimschy 4cd1f4aac0 Towards "to closed" local variables
Start of the implementation of "scoped variables" or "to be closed"
variables, local variables whose '__close' (or themselves) are called
when they go out of scope. This commit implements the syntax, the
opcode, and the creation of the corresponding upvalue, but it still
does not call the finalizations when the variable goes out of scope
(the most important part).

Currently, the syntax is 'local scoped name = exp', but that will
probably change.
2018-10-08 10:42:07 -03:00
manual Deprecated the emulation of '__le' using '__lt' 2018-08-24 10:17:54 -03:00
testes Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
all Added manual and tests for version 5.4-w2 2018-07-09 12:33:01 -03:00
bugs added patch for bug 5.3.4-7 2018-06-08 13:23:18 -03:00
lapi.c Details (comments) 2018-09-11 08:39:12 -03:00
lapi.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lauxlib.c Added "emergency collection" to 'io.tmpfile' and 'os.tmpname' 2018-07-27 15:50:53 -03:00
lauxlib.h Added "emergency collection" to 'io.tmpfile' and 'os.tmpname' 2018-07-27 15:50:53 -03:00
lbaselib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lcode.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lcode.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lcorolib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lctype.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lctype.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldblib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldebug.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldebug.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldo.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
ldo.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldump.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lfunc.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lfunc.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lgc.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lgc.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c Added "emergency collection" to 'io.tmpfile' and 'os.tmpname' 2018-07-27 15:50:53 -03:00
ljumptab.h Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
llex.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
llex.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
llimits.h Details (comments) 2018-09-11 08:39:12 -03:00
lmathlib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lmem.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lobject.c Corrections in the implementation of '%' for floats. 2018-08-28 12:36:58 -03:00
lobject.h Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lopcodes.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lopcodes.h Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lopnames.h Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
loslib.c Added "emergency collection" to 'io.tmpfile' and 'os.tmpname' 2018-07-27 15:50:53 -03:00
lparser.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lparser.h Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lprefix.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstate.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstate.h Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lstring.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstring.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lstrlib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltable.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltable.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltablib.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ltests.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
ltests.h Deprecated the emulation of '__le' using '__lt' 2018-08-24 10:17:54 -03:00
ltm.c Deprecated the emulation of '__le' using '__lt' 2018-08-24 10:17:54 -03:00
ltm.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lua.c Removed use of 'rl_inhibit_completion' in 'lua.c' 2018-08-16 14:38:05 -03:00
lua.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
luaconf.h Deprecated the emulation of '__le' using '__lt' 2018-08-24 10:17:54 -03:00
lualib.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lundump.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lundump.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lutf8lib.c Avoid using 'int' for UTF-8 values 2018-07-12 15:56:44 -03:00
lvm.c Towards "to closed" local variables 2018-10-08 10:42:07 -03:00
lvm.h Corrections in the implementation of '%' for floats. 2018-08-28 12:36:58 -03:00
lzio.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lzio.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
makefile several details 2018-06-18 15:25:19 -03:00