lua-users home
lua-l archive

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

But in that case, shouldn't it be that xxx is nil rather than boolean?
c:\temp>lua -l xxx -e "xxx()
lua: (command line):1: attempt to call a boolean value (global 'xxx')
as in:
c:\temp>lua -e "xxx()
lua: (command line):1: attempt to call a nil value (global 'xxx')
-----Original Message-----
From: Vadim A. Misbakh-Soloviov
Sent: Saturday, February 25, 2017 11:17 PM
To: Lua mailing list
Subject: Re: command-line -l option issue
It is not a bug. Just `-l` executes after `-e`. That's all. It is same for
Lua versions including LuaJIT.