also fixed nested list comprehensions

This commit is contained in:
David Halter committed 2013-02-21 01:39:49 +04:30
1 parent 4d3267b24f
commit 6b5295bc40
3 files changed
+7 -5

No files matched your search

+2 -1
View File
@@ -435,7 +435,8 @@ class Parser(object):
st = pr.Statement(self.module, src, [], [], [],
toks, first_pos, self.end_pos)
tok = pr.ListComprehension(st, middle, in_clause)
tok = pr.ListComprehension(st, middle, in_clause,
self.scope)
tok_list.append(tok)
if list_comp:
string = ''