Skip to content

Lexer error for "a=1.0" #13

@miko

Description

@miko

For a valid lua code:
a=1.0
I get lexer error:
warning: metalua failed to compile code that compiles with loadstring. error in metalua?
lua-inspect/metalualib/gg.lua:56: lua-inspect/metalualib/lexer.lua:129: assertion failed! 6

I made a workaround, but not sure what is the real fix:
metalualib/lexer.lua:129 if tag=='Number' and not content then content=0 end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions