Module:LuaCall: Difference between revisions

From Test Wiki
Content deleted Content added
This isn't the bug, but might as well fill it in for completeness
m d
Line 30: Line 30:
end
end
end
end
debuglog=debuglog.."Lookup _G value of "..reserved_function.." is "..tostring(reserved_call)
if not reserved_function then return frame.preprocess(frame,"<nowiki>"..debuglog.."</nowiki>") end
if not reserved_function then return frame.preprocess(frame,"<nowiki>"..debuglog.."</nowiki>") end
local reserved_call=_G[reserved_function]
local reserved_call=_G[reserved_function]
debuglog=debuglog.."Lookup _G value of "..reserved_function.." is "..tostring(reserved_call)
return _G[reserved_function](unpack(reserved_contents or {}))
return _G[reserved_function](unpack(reserved_contents or {}))
end
end