lua-users home
lua-l archive

Lua return 2

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,
With LUA_DEBUG defined, the output of luac was:
-----
main <t.lua:0> (3 instructions, 12 bytes at 00882108)
0 params, 2 stacks, 0 upvalues, 0 locals, 1 constant, 1 function
 1 [3] CLOSURE 0 0 ; 008822E8
 2 [1] SETGLOBAL 0 0 ; test
 3 [3] RETURN 0 1 0
constants (1) for 00882108:
 0 "test"
locals (0) for 00882108:
upvalues (0) for 00882108:
function <t.lua:1> (2 instructions, 8 bytes at 008822E8)
0 params, 2 stacks, 0 upvalues, 0 locals, 0 constants, 0 functions
 1 [2] RETURN 0 1 0
 2 [3] RETURN 0 1 0
constants (0) for 008822E8:
locals (0) for 008822E8:
upvalues (0) for 008822E8:
Assertion failed: --(*(*(((int * *)(D->L)) - 1))) == 0, file ldump.c, line
29
abnormal program termination
----
 The God's Peace,
 Leandro.

AltStyle によって変換されたページ (->オリジナル) /