Module:LuaCall: Difference between revisions
From Test Wiki
Content deleted Content added
Time to declare total war on the debug formatting. Forgot why I didn't do this (PITA), but in this case I want a debug someone else can read |
This isn't the bug, but might as well fill it in for completeness |
||
| Line 31: | Line 31: | ||
end |
end |
||
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] |
|||
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 |
||