|
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
all
Lua versions including LuaJIT. |