Commit de6217dd authored by Robert Bradshaw's avatar Robert Bradshaw

tiny Py2.3 fix

parent 7eddbcf4
......@@ -215,7 +215,7 @@ class ControlFlow(object):
offset = 0
for entry in self.entries:
assmts = AssignmentList()
assmts.bit = 1 << offset
assmts.bit = 1L << offset
assmts.mask = assmts.bit
self.assmts[entry] = assmts
offset += 1
......@@ -223,7 +223,7 @@ class ControlFlow(object):
for block in self.blocks:
for stat in block.stats:
if isinstance(stat, NameAssignment):
stat.bit = 1 << offset
stat.bit = 1L << offset
assmts = self.assmts[stat.entry]
assmts.stats.append(stat)
assmts.mask |= stat.bit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment