Track recent lc changes in fragment semantics

This commit is contained in:
rocky
2016-05-09 06:57:13 -04:00
parent 1179dc72da
commit 41f9e9e53e
5 changed files with 69 additions and 6 deletions

View File

@@ -1047,8 +1047,9 @@ class SourceWalker(GenericASTTraversal, object):
n = ast[iter_index]
assert n == 'list_iter'
# find innermost node
while n == 'list_iter': # list_iter
while n == 'list_iter':
n = n[0] # recurse one step
if n == 'list_for':
designator = n[2]
@@ -1087,7 +1088,7 @@ class SourceWalker(GenericASTTraversal, object):
assert n == 'list_iter'
# find innermost node
while n == 'list_iter': # list_iter
while n == 'list_iter':
n = n[0] # recurse one step
if n == 'list_for':
designator = n[2]