Closed viruscamp closed 10 years ago
;-- must output this semicolon inserting not implemented
local b=f
((function() print(1) end)+(function() print(2) end))()
We should insert a ';' , when next statement start with '(' . Should be processed in ast.c : PrintAstStatement .
test cases: luadec issue13_direct_call.lua > i13.lua luadec i13.lua
luadec issue4_jmp_loadbool.lua main.lua > i4+m.lua luadec i4+m.lua
e4f956c import a new bug ,when using OP_SELF a:f() decompied to (a:f)()