lua-users home
lua-l archive

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



I have been looking for the origin of the return code 3 from lua_dofile. I
don't find a 3 through the calls down to luaD_protectedrun(). Does anyone
know where a return code of 3 can come from?

{ ... having a quick peek at lua.h }

Isn't 3 equal to the LUA_ERRSYNTAX return value?

Perhaps you should run the script you're trying to load/run through luac to see if anything's amiss.

Ashwin.
--
no signature is a signature.