?login_element?

Subversion Repositories NedoOS

Rev

Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  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  ; either sline or sline2 should be non-empty from substitution
  8.     LUA ALLPASS
  9.         sj.add_byte(_c("2+3"))
  10.     ENDLUA xyz  ; either sline or sline2 should be non-empty from substitution
  11.     ; the above trick didn't help, so one more try
  12.     LUA ALLPASS
  13.         _pc("nop qwe")
  14.         sj.add_byte(_c("3+4"))
  15.     ENDLUA
  16.     LUA ALLPASS
  17.         _pc("nop xyz")
  18.         sj.add_byte(_c("5+6"))
  19.     ENDLUA
  20.