?login_element?

Subversion Repositories NedoOS

Rev

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

  1. ; force non-empty internal sline/sline2 arrays during `_c()` evaluation
  2.     DEFINE  qwe xyz
  3.     DEFINE  xyz abc
  4.     DEFINE  abc @
  5.     LUA ALLPASS
  6.         sj.add_byte(_c("1+2"))
  7.     ENDLUA qwe  ; both sline or sline2 will contain "@" from substitution
  8.  
  9.     LUA PASS3
  10.         assert(false == zx.trdimage_create())
  11.         assert(false == zx.trdimage_add_file("1.trd",nil,0x1234,1))
  12.         assert(false == zx.save_snapshot_sna(nil,0x8000))
  13.         zx.save_snapshot_sna("1.sna")   -- bad argument #2, exits this script
  14.     ENDLUA
  15.