Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua 5.3 String Length Error #53

Open
xi-lu opened this issue Oct 15, 2024 · 0 comments
Open

Lua 5.3 String Length Error #53

xi-lu opened this issue Oct 15, 2024 · 0 comments

Comments

@xi-lu
Copy link

xi-lu commented Oct 15, 2024

With the official luac5.3 compilation, when the string length exceeds 254(including newlines), the decompiler will report the following error.

使用官方luac5.3编译,当字符串长度超过254(包括换行符),反编译会报以下错误

Source file:
test.lua.txt
Bytecode file:
luac.txt

The Error:

parse luac: Error(
    Stack {
        base: Base {
            location: 375,
            kind: Expected(
                Something,
            ),
        },
        contexts: [
            (
                336,
                Kind(
                    Count,
                ),
            ),
            (
                332,
                Context(
                    "count upvalues",
                ),
            ),
            (
                55,
                Context(
                    "chunk",
                ),
            ),
        ],
    },
)
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

No branches or pull requests

1 participant