From 268518e233a3445759bfb41c83e89802075da4b3 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sat, 30 Mar 2013 02:43:00 +0000 Subject: [PATCH] Back out previous as it's not a complete fix. Leave it alone so that existing working scripts don't break. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@870 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCompile.lua | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/OvaleCompile.lua b/OvaleCompile.lua index 9694353..7cfe931 100644 --- a/OvaleCompile.lua +++ b/OvaleCompile.lua @@ -525,23 +525,7 @@ local function ParseCommands(text) text = strgsub(text, "(%w+)%.?(%w*)%s*%((.-)%)", ParseFunction) text = strgsub(text, "(%d+%.?%d*)s", ParseTime) text = strgsub(text, "([^%w])(%d+%.?%d*)", ParseNumber) - text = strgsub(text, "{([node%d ]*)}", ParseGroup) - if was == text then - break - end - end - - while true do - local was = text text = strgsub(text, "node(%d+)%s*([%*%/%%])%s*node(%d+)", ParseOp) - text = strgsub(text, "{([node%d ]*)}", ParseGroup) - if was == text then - break - end - end - - while true do - local was = text text = strgsub(text, "node(%d+)%s*([%+%-])%s*node(%d+)", ParseOp) text = strgsub(text, "{([node%d ]*)}", ParseGroup) if was == text then -- 1.7.9.5