Comment changes - just make the idea more explicit.

This commit is contained in:
Sei Lisa 2014-07-28 21:39:36 +02:00
parent 3b4bf13a10
commit 5d4abf967d

View file

@ -342,11 +342,12 @@ class optimizer(object):
if code0 == 'DECL':
# The expression code is elsewhere.
expr = self.symtab[code[3]][code[2]][2]
# Irrelevant if list or string or key.
if expr is not None:
self.FoldTree(expr)
# TODO: Remove assignment if default
# TODO: Remove assignment if integer zero.
else:
# TODO: Add assignment if ZERO_VECTOR, ZERO_ROTATION or FLOAT.
# TODO: Add assignment if vector, rotation or float.
pass
return