|
On 26/03/2014 17.32, Sean Conner wrote:
What happens if the script is launched with a different version of Lua from the one in the path, e.g. it is launched with "test/lua53 script.lua" when "/usr/bin/env lua" launches "lua52"?
>
The top line is ignored.
Ah, yes. So any test put inside the !# line would not be enough to detect the wrong intepreter version before the parser chokes on unrecognized operators.
-- Enrico