mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix typo that made function calls be wrapped in parentheses on output.
No biggie, but what's right is right.
This commit is contained in:
parent
e30a4ea25d
commit
0ca5a8f5b0
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class outscript(object):
|
||||||
ret = '(' + expr['t'] + ')'
|
ret = '(' + expr['t'] + ')'
|
||||||
expr = child[0]
|
expr = child[0]
|
||||||
if expr['nt'] in ('CONST', 'IDENT', 'V++', 'V--', 'VECTOR',
|
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)
|
||||||
return ret + '(' + self.OutExpr(expr) + ')'
|
return ret + '(' + self.OutExpr(expr) + ')'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue