Back out previous as it's not a complete fix.
Johnny C. Lam [03-30-13 - 02:43]
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
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