Go to file
Roberto Ierusalimschy e288c5a918 Bug: Yielding in a hook stops in the wrong instruction
Yielding in a hook must decrease the program counter, because it already
counted an instruction that, in the end, was not executed. However,
that decrement should be done only when about to restart the thread.
Otherwise, inspecting the thread with the debug library shows it one
instruction behind of where it really is.
2024-01-11 13:44:16 -03:00
manual Panic functions should not raise errors 2023-11-24 16:08:55 -03:00
testes Bug: Yielding in a hook stops in the wrong instruction 2024-01-11 13:44:16 -03:00
.gitignore 'lua_upvalueid' returns NULL on invalid upvalue index 2020-10-12 14:51:28 -03:00
all 'lua_checkstack' doesn't need to check stack overflow 2022-05-23 10:38:03 -03:00
lapi.c More disciplined use of 'getstr' and 'tsslen' 2023-08-17 15:59:28 -03:00
lapi.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
lauxlib.c Panic functions should not raise errors 2023-11-24 16:08:55 -03:00
lauxlib.h Removed goto's in 'luaD_precall' 2021-10-18 11:58:40 -03:00
lbaselib.c Bug: GC is not reentrant 2021-12-13 10:41:17 -03:00
lcode.c Several functions turned 'static' 2023-05-22 14:47:54 -03:00
lcode.h Several functions turned 'static' 2023-05-22 14:47:54 -03:00
lcorolib.c "Emergency" new version 5.4.6 2023-05-02 16:41:43 -03:00
lctype.c Easy way to allow Unicode characters in identifiers 2019-12-17 14:24:30 -03:00
lctype.h Better documentation for 'lctype.h' 2020-09-03 09:52:43 -03:00
ldblib.c Broadening the use of branch hints 2021-02-24 11:14:44 -03:00
ldebug.c Bug: Yielding in a hook stops in the wrong instruction 2024-01-11 13:44:16 -03:00
ldebug.h Bug: Call hook may be called twice when count hook yields 2023-07-25 16:50:44 -03:00
ldo.c Bug: Yielding in a hook stops in the wrong instruction 2024-01-11 13:44:16 -03:00
ldo.h Several functions turned 'static' 2023-05-22 14:47:54 -03:00
ldump.c Bug: Loading a corrupted binary file can segfault 2023-03-17 15:52:09 -03:00
lfunc.c Removed unused field 'UpVal.tbc' 2022-11-08 10:15:10 -03:00
lfunc.h Stack indices changed to union's 2022-10-29 12:06:37 -03:00
lgc.c More disciplined use of 'getstr' and 'tsslen' 2023-08-17 15:59:28 -03:00
lgc.h Small change in barrier macros 2022-12-15 14:18:03 -03:00
linit.c Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
liolib.c Broadening the use of branch hints 2021-02-24 11:14:44 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Details 2023-04-18 09:44:10 -03:00
llex.h Detail 2020-09-15 14:29:52 -03:00
llimits.h Details 2023-04-18 09:44:10 -03:00
lmathlib.c Avoid casts from unsigned long to floating-point 2023-09-08 11:34:39 -03:00
lmem.c Small improvements in 'lmem.c' 2022-12-15 10:44:55 -03:00
lmem.h Removed extra information from RCS keyword strings 2018-08-23 14:26:12 -03:00
loadlib.c Option '-l' discards version sufix from file name 2023-05-15 13:46:38 -03:00
lobject.c More disciplined use of 'getstr' and 'tsslen' 2023-08-17 15:59:28 -03:00
lobject.h More disciplined use of 'getstr' and 'tsslen' 2023-08-17 15:59:28 -03:00
lopcodes.c Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lopcodes.h Details 2023-05-15 10:07:25 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c Simpler definition for LUA_STRFTIMEOPTIONS 2023-02-07 10:48:39 -03:00
lparser.c Bug: Wrong line number for function calls 2023-08-23 13:49:27 -03:00
lparser.h Details 2020-12-02 15:13:13 -03:00
lprefix.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lstate.c More disciplined use of 'getstr' and 'tsslen' 2023-08-17 15:59:28 -03:00
lstate.h Bug: Call hook may be called twice when count hook yields 2023-07-25 16:50:44 -03:00
lstring.c Bug: Buffer overflow in string concatenation 2023-12-21 13:37:51 -03:00
lstring.h Hash always use all characters in a long string 2020-10-12 12:29:09 -03:00
lstrlib.c Details 2023-04-18 09:44:10 -03:00
ltable.c Simpler test in 'luaH_getint' 2023-10-26 16:12:25 -03:00
ltable.h Details 2023-05-15 10:07:25 -03:00
ltablib.c Corrected error message in 'table.remove' 2022-09-07 12:21:46 -03:00
ltests.c Panic functions should not raise errors 2023-11-24 16:08:55 -03:00
ltests.h Bug: Wrong code generation in bitwise operations 2022-04-25 14:42:51 -03:00
ltm.c Stack indices changed to union's 2022-10-29 12:06:37 -03:00
ltm.h Avoid inclusion loop in 'ltm.h' 2023-06-16 11:52:14 -03:00
lua.c Option '-l' discards version sufix from file name 2023-05-15 13:46:38 -03:00
lua.h Removed redundancy in definitions of version/release 2023-06-21 15:04:24 -03:00
luaconf.h Option '-l' discards version sufix from file name 2023-05-15 13:46:38 -03:00
lualib.h 'lua_assert' moved from 'lualib.h' to 'lauxlib.h' 2020-12-03 10:39:38 -03:00
lundump.c Removed test for "corrupted binary dump" 2023-09-08 16:19:21 -03:00
lundump.h Details 2023-07-03 14:12:54 -03:00
lutf8lib.c Bug: 'utf8.codes' accepts spurious continuation bytes 2022-09-23 10:41:16 -03:00
lvm.c Bug: Buffer overflow in string concatenation 2023-12-21 13:37:51 -03:00
lvm.h Negation in constant folding of '>>' may overflow 2022-09-23 11:08:10 -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 New year (2023) 2023-03-31 11:47:31 -03:00
onelua.c Details 2023-03-09 11:12:11 -03:00
README.md Details 2020-12-02 15:13:13 -03:00

Lua

This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.

Please do not send pull requests. To report issues, post a message to the Lua mailing list.

Download official Lua releases from Lua.org.