Overview of the main changes for this major version:
- declarations for global variables
- named vararg tables
- for-loop variables are read only
- floats are printed in decimal with enough digits to be read
back correctly.
- more levels for constructors
- table.create
- utf8.offset returns also final position of character
- external strings (that use memory not managed by Lua)
- new functions luaL_openselectedlibs and luaL_makeseed
- major garbage collections done incrementally
- more compact arrays (large arrays use about 60% less memory)
- lua.c loads 'readline' dynamically
- static (fixed) binaries (when loading a binary chunk in
memory, Lua can reuse its original memory in some of the
internal structures)
- dump and undump reuse all strings
- auxiliary buffer reuses buffer when it creates final string
18 lines
699 B
Diff
18 lines
699 B
Diff
---
|
|
testes/attrib.lua | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: lua-5.5.0/testes/attrib.lua
|
|
===================================================================
|
|
--- lua-5.5.0.orig/testes/attrib.lua 2025-12-15 11:44:41.000000000 +0100
|
|
+++ lua-5.5.0/testes/attrib.lua 2025-12-31 02:22:51.648969263 +0100
|
|
@@ -269,7 +269,7 @@
|
|
local st, err, when = package.loadlib(DC"lib1", "*")
|
|
if not st then
|
|
local f, err, when = package.loadlib("donotexist", p.."xuxu")
|
|
- assert(not f and type(err) == "string" and when == "absent")
|
|
+ assert(not f and type(err) == "string" and when == "open")
|
|
;(Message or print)('\n >>> cannot load dynamic library <<<\n')
|
|
print(err, when)
|
|
else
|