mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Remove obsolete comment about parentheses (they are now implicit).
This commit is contained in:
parent
c650ad26f8
commit
d8f42a5071
1 changed files with 0 additions and 1 deletions
|
@ -152,7 +152,6 @@ class foldconst(object):
|
|||
self.FoldTree(child, 0)
|
||||
if child[0]['nt'] == 'NEG':
|
||||
# Double negation: - - expr --> expr
|
||||
# NOTE: Not 100% sure this doesn't need parentheses around expr.
|
||||
node = parent[index] = child[0]['ch'][0]
|
||||
child = node['ch'] if 'ch' in node else None
|
||||
elif child[0]['nt'] == 'CONST':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue