?login_element?

Subversion Repositories NedoOS

Rev

Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download

  1.     LUA pass1
  2.         lua_pass = 1
  3.     ENDLUA
  4.  
  5.     LUA pass3   ; wrong arguments
  6.         -- sj.exit(27, 2) -- not reported since Lua5.4 and LuaBridge 2.6 integration :(
  7.     ENDLUA
  8.  
  9.     LUA allpass
  10.         if (3 == lua_pass) then sj.exit(13); end
  11.         ;-- exit precisely in third pass, to exercise certain code path in sjasm.cpp
  12.         lua_pass = lua_pass + 1
  13.     ENDLUA
  14.  
  15.     ; errorcode argument is optional, missing argument or nil will do `sj.exit(1)` (v1.20.0+)
  16.