Move comment to its correct place

This commit is contained in:
Sei Lisa 2018-03-23 22:05:05 +01:00
parent 2b14acc8a0
commit f3c87299c2

View file

@ -228,8 +228,8 @@ class deadcode(object):
self.tree[sym['Loc']]['X'] = True
elif subnode['nt'] in ('VECTOR', 'ROTATION'):
for sub2node in subnode['ch']:
# can only happen in globals
if sub2node['nt'] == 'IDENT':
# can only happen in globals
assert sub2node['scope'] == 0
sym = self.symtab[0][sub2node['name']]
sym['W'] = False