Project

General

Profile

Feature #1664 ยป 0035-Apply-patch-3-for-lua-5.4.8.patch

Marko Lindqvist, 08/31/2025 05:01 AM

View differences:

dependencies/lua-5.4/Version.txt
(http://www.lua.org/ftp/lua-5.4.8.tar.gz)
Upstream bug fixes from https://www.lua.org/bugs.html applied:
1
1, 3
Upstream bug fixes not applicable to our tree:
2
Not entire lua distribution directory hierarchy is included here, and
some files needed for Freeciv usage have been added.
dependencies/lua-5.4/src/lparser.c
if (ls->t.token == '}') break;
closelistfield(fs, &cc);
field(ls, &cc);
checklimit(fs, cc.tostore + cc.na + cc.nh, INT_MAX/2,
"items in a constructor");
} while (testnext(ls, ',') || testnext(ls, ';'));
check_match(ls, '}', '{', line);
lastlistfield(fs, &cc);
    (1-1/1)