?login_element?

Subversion Repositories NedoOS

Rev

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

# file opened: lua_coverage2.asm
 1    0000              ; force non-empty internal sline/sline2 arrays during `_c()` evaluation
 2    0000                  DEFINE  qwe xyz
 3    0000                  DEFINE  xyz abc
 4    0000                  DEFINE  abc @
 5    0000                  LUA ALLPASS
 6    0000 ~                    sj.add_byte(_c("1+2"))
lua_coverage2.asm(7): error: Unexpected: @
 7    0000 03               ENDLUA qwe  ; both sline or sline2 will contain "@" from substitution
 8    0001
 9    0001                  LUA PASS3
10    0001 ~                    assert(false == zx.trdimage_create())
11    0001 ~                    assert(false == zx.trdimage_add_file("1.trd",nil,0x1234,1))
12    0001 ~                    assert(false == zx.save_snapshot_sna(nil,0x8000))
13    0001 ~                    zx.save_snapshot_sna("1.sna")   -- bad argument #2, exits this script
lua_coverage2.asm(10): error: [LUA] opening file for write
lua_coverage2.asm(12): error: [LUA] [SAVESNA] Only for real device emulation mode.
lua_coverage2.asm(13): error: [LUA] bad argument #2 to 'save_snapshot_sna' (number expected, got no value)
14    0001                  ENDLUA
15    0001
# file closed: lua_coverage2.asm

Value    Label
------ - -----------------------------------------------------------