From 0ca5a8f5b0ee745e521f5bf8ddbd93629519ffad Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sat, 28 Feb 2015 20:37:59 +0100 Subject: [PATCH] Fix typo that made function calls be wrapped in parentheses on output. No biggie, but what's right is right. --- lslopt/lsloutput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lslopt/lsloutput.py b/lslopt/lsloutput.py index 7701ca8..2af2661 100644 --- a/lslopt/lsloutput.py +++ b/lslopt/lsloutput.py @@ -217,7 +217,7 @@ class outscript(object): ret = '(' + expr['t'] + ')' expr = child[0] if expr['nt'] in ('CONST', 'IDENT', 'V++', 'V--', 'VECTOR', - 'ROTATION', 'LIST', 'FIELD', 'PRINT', 'FUNCTION'): + 'ROTATION', 'LIST', 'FIELD', 'PRINT', 'FNCALL'): return ret + self.OutExpr(expr) return ret + '(' + self.OutExpr(expr) + ')'