From 056993a5d76024ffc48098cf97d573719b765680 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Tue, 12 Mar 2013 04:46:43 +0000 Subject: [PATCH] Move debugging code for OvaleCompile into OvaleCompile module. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@754 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- Ovale.lua | 4 ---- OvaleCompile.lua | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Ovale.lua b/Ovale.lua index 8350763..bc946b6 100644 --- a/Ovale.lua +++ b/Ovale.lua @@ -62,10 +62,6 @@ function Ovale:debugPrint(flag, ...) end end -function Ovale:Debug() - self:Print(OvaleCompile:DebugNode(OvaleCompile.masterNodes[1])) -end - -- Print the auras matching the filter on the target in alphabetical order. function Ovale:DebugListAura(target, filter) local i = 1 diff --git a/OvaleCompile.lua b/OvaleCompile.lua index acdfd4e..9c70a2b 100644 --- a/OvaleCompile.lua +++ b/OvaleCompile.lua @@ -689,6 +689,10 @@ function OvaleCompile:Compile() Ovale:UpdateFrame() end +function OvaleCompile:Debug() + Ovale:Print(self:DebugNode(self.masterNodes[1])) +end + function OvaleCompile:DebugNode(node) local text if (not node) then -- 1.7.9.5