lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


$ lua
Lua 5.3.4  Copyright (C) 1994-2017 Lua.org, PUC-Rio
> foo=1print(foo)
1
> a=1f()
stdin:1: malformed number near '1f'
> a=1g()
stdin:1: attempt to call a nil value (global 'g')
stack traceback:
    stdin:1: in main chunk
    [C]: in ?
>

This seems to exist since the introduction of hex literals (Lua 5.2). Not sure of the exact revision.