Skip to content

lua: fix lua 5.5 engine compatibility - #117

Open
khaneliman wants to merge 1 commit into
instead-hub:masterfrom
khaneliman:lua55-compat
Open

khaneliman wants to merge 1 commit into
instead-hub:masterfrom
khaneliman:lua55-compat

Conversation

@khaneliman

Copy link
Copy Markdown

Lua 5.5 makes numeric loop variables read-only and removes the output macros used by the custom print function. Preserve recursive STEAD3 search results in the existing idx local and use standard I/O on Lua 5.5, keeping older Lua behavior unchanged. Add focused checks to the existing integration game for the returned object, containing list and nested index.

Built on x86_64 Linux with SDL3 and Lua 5.5.1/5.4.7. CTest passes all four tests on both versions, including 52 checks in the integration game. The existing theme-font check remains skipped, and automatic Lua discovery and other platforms were not tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant