lonng/lua-rs

Table with hexadecimal key numbers falsely gives "] expected"

Kampfkarren opened this issue · 0 comments

The following code is tripping a syntax error:

local FOOBAR = {
    [0xDEADBEEF] = true
}

However, this doesn't:

local FOOBAR = {
    [100] = true,
}