[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Possible bug in LuaJIT?
- From: Mike Pall <mikelu-0905@...>
- Date: Tue, 19 May 2009 17:15:57 +0200
Cosmin Apreutesei wrote:
> function test2(...) print(arg[1]) end
The Lua 5.0 vararg syntax is deprecated.
Quoting http://luajit.org/luajit_features.html
| LuaJIT ships with LUA_COMPAT_VARARG turned off. I.e. the
| implicit arg parameter is not created anymore. Please have a
| look at the comments in luaconf.h for this configuration option.
| You can turn it on, if you really need it. Or better yet,
| convert your code to the new Lua 5.1 vararg syntax.
--Mike