?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     -- few extra lines to make the assert line number 20
  2.     --
  3.     --
  4.     --
  5.     --
  6.     --
  7.     --
  8.     --
  9.     --
  10.     --
  11.     --
  12.     --
  13.     --
  14.     -- and one useless local var
  15.     --
  16.     local x = 2
  17.  
  18.     function f2()
  19.         sj.error("f2 lua:19 invoked from asm:5")       -- OK + "emitted from here" points to LUAEND (FAIL?)
  20.         assert(false, "f2 assert fail -> lua:20 invoked from asm:5")   -- FAIL to asm:20
  21.     end
  22.  
  23.     -- one error invoked while including
  24.  
  25.     sj.error("lua:25 pass1 emit from asm:23/24")    -- OK + "emitted from here" OK
  26.