?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     IF 1 == __INCLUDE_LEVEL__
  2.  
  3.         DB "Before second INCLUDE:\n"
  4.         LUA ALLPASS
  5.             _pc("DB \"base: " .. sj.get_define("__BASE_FILE__") .. "\\n\"")
  6.             _pc("DB \"file: " .. sj.get_define("__FILE__") .. "\\n\"")
  7.             _pc("DB \"ENDLUA line: " .. sj.get_define("__LINE__") .. "\\n\"")
  8.         ENDLUA
  9.  
  10.         INCLUDE "predefined_base_file.i.asm"
  11.  
  12.         DB "After second INCLUDE:\n"
  13.         LUA ALLPASS
  14.             _pc("DB \"base: " .. sj.get_define("__BASE_FILE__") .. "\\n\"")
  15.             _pc("DB \"file: " .. sj.get_define("__FILE__") .. "\\n\"")
  16.             _pc("DB \"ENDLUA line: " .. sj.get_define("__LINE__") .. "\\n\"")
  17.         ENDLUA
  18.  
  19.     ELSE
  20.  
  21.         DB "Inside second INCLUDE:\n"
  22.         LUA ALLPASS
  23.             _pc("DB \"base: " .. sj.get_define("__BASE_FILE__") .. "\\n\"")
  24.             _pc("DB \"file: " .. sj.get_define("__FILE__") .. "\\n\"")
  25.             _pc("DB \"ENDLUA line: " .. sj.get_define("__LINE__") .. "\\n\"")
  26.         ENDLUA
  27.  
  28.     ENDIF
  29.