mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Move comment to its correct place
This commit is contained in:
parent
2b14acc8a0
commit
f3c87299c2
1 changed files with 1 additions and 1 deletions
|
@ -228,8 +228,8 @@ class deadcode(object):
|
||||||
self.tree[sym['Loc']]['X'] = True
|
self.tree[sym['Loc']]['X'] = True
|
||||||
elif subnode['nt'] in ('VECTOR', 'ROTATION'):
|
elif subnode['nt'] in ('VECTOR', 'ROTATION'):
|
||||||
for sub2node in subnode['ch']:
|
for sub2node in subnode['ch']:
|
||||||
# can only happen in globals
|
|
||||||
if sub2node['nt'] == 'IDENT':
|
if sub2node['nt'] == 'IDENT':
|
||||||
|
# can only happen in globals
|
||||||
assert sub2node['scope'] == 0
|
assert sub2node['scope'] == 0
|
||||||
sym = self.symtab[0][sub2node['name']]
|
sym = self.symtab[0][sub2node['name']]
|
||||||
sym['W'] = False
|
sym['W'] = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue