Go to file
Roberto Ierusalimschy 63295f1f7f Fixed two bugs in to-be-closed variables x constants
The parser were mixing compiler indices of variables with stack indices,
so that when a to-be-closed variable was used inside the scope of
compile-time constants (which may be optimized away), it might be closed
in the wrong place. (See new tests for examples.)

Besides fixing the bugs, this commit also changed comments and variable
names to avoid that kind of confusion and added tests.
2020-06-01 15:07:58 -03:00
manual Improvements in the manual 2020-05-29 10:41:32 -03:00
testes Fixed two bugs in to-be-closed variables x constants 2020-06-01 15:07:58 -03:00
all Default for warnings changed to "off" 2019-08-20 13:42:26 -03:00
lapi.c Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
lapi.h Comments (mosty typos) 2019-12-30 11:45:08 -03:00
lauxlib.c Details (more uniformity in error messages) 2020-05-27 11:46:47 -03:00
lauxlib.h Added 'simplesect' sections to the manual 2020-04-13 13:42:40 -03:00
lbaselib.c Added macro 'luaL_pushfail' 2019-08-16 14:58:02 -03:00
lcode.c Fixed "conceptual" bug in 'luaK_setreturns' 2020-03-02 13:24:06 -03:00
lcode.h Details 2020-02-27 12:59:22 -03:00
lcorolib.c Fixed a warning and other minor issues 2019-10-04 16:17:04 -03:00
lctype.c Easy way to allow Unicode characters in identifiers 2019-12-17 14:24:30 -03:00
lctype.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
ldblib.c Details 2020-02-27 12:59:22 -03:00
ldebug.c Improvements in the handling of signals 2020-05-22 11:40:34 -03:00
ldebug.h A to-be-closed variable must have a closable value (or be nil) 2018-11-29 16:02:44 -02:00
ldo.c Improvements in the handling of signals 2020-05-22 11:40:34 -03:00
ldo.h First "complete" implementation of to-be-closed variables 2018-10-17 10:44:42 -03:00
ldump.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lfunc.c Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
lfunc.h Details 2019-11-18 14:54:06 -03:00
lgc.c Added 'simplesect' sections to the manual 2020-04-13 13:42:40 -03:00
lgc.h Avoid the creation of too many strings in 'package' 2019-05-03 10:14:25 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c 'luaL_execresult' does not assume -1 status as error 2020-05-22 15:39:29 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Changed internal representation of booleans 2020-01-06 11:38:31 -03:00
llex.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
llimits.h Small correction in assertion 2019-12-13 14:02:42 -03:00
lmathlib.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lmem.c Comments (mosty typos) 2019-12-30 11:45:08 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lobject.c Undo change in the handling of 'L->top' (commit b80077b8f3) 2019-08-29 12:52:37 -03:00
lobject.h Cleaner definition for 'TString' 2020-05-19 12:42:20 -03:00
lopcodes.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopcodes.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c 'luaL_execresult' does not assume -1 status as error 2020-05-22 15:39:29 -03:00
lparser.c Fixed two bugs in to-be-closed variables x constants 2020-06-01 15:07:58 -03:00
lparser.h Fixed two bugs in to-be-closed variables x constants 2020-06-01 15:07:58 -03:00
lprefix.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lstate.c Improvements in the handling of signals 2020-05-22 11:40:34 -03:00
lstate.h Improvements in the handling of signals 2020-05-22 11:40:34 -03:00
lstring.c Short strings always use all bytes in the hash 2020-04-01 10:52:41 -03:00
lstring.h Cleaner definition for 'TString' 2020-05-19 12:42:20 -03:00
lstrlib.c Fixed bug in 'string.format("%p")' 2020-03-16 14:13:13 -03:00
ltable.c Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
ltable.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
ltablib.c Details (typos in comments) 2019-07-05 15:03:15 -03:00
ltests.c Fixed bug in 'string.format("%p")' 2020-03-16 14:13:13 -03:00
ltests.h Details 2020-04-30 17:29:27 -03:00
ltm.c Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
ltm.h Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
lua.c Improvements in the handling of signals 2020-05-22 11:40:34 -03:00
lua.h Clearer distinction between types and tags 2020-01-31 11:09:53 -03:00
luaconf.h 'l_mathlim' renamed to 'l_floatatt' 2019-12-05 13:31:07 -03:00
lualib.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
lundump.c Back to old encoding of versions in binary files 2020-05-06 14:19:08 -03:00
lundump.h Details in comments 2020-05-07 14:52:19 -03:00
lutf8lib.c Details (more uniformity in error messages) 2020-05-27 11:46:47 -03:00
lvm.c Details 2020-02-27 12:59:22 -03:00
lvm.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -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 Makefile compiles the Lua compiler with '-Os' 2019-10-08 10:26:02 -03:00
onelua.c Keep correct type for immediate operands in comparisons 2019-03-22 13:37:17 -03:00