Fixed a few small things in the parser. Flow analysis is working again. Completely.

This commit is contained in:
Dave Halter
2014-11-06 04:41:23 +01:00
parent 56102e408e
commit aa0c73c9ab
4 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ class NameFinder(object):
check = flow_analysis.break_check(self._evaluator,
scope,
name.get_definition(),
self.scope)
self.name_str.get_definition().parent)
if check is not flow_analysis.UNREACHABLE:
last_names.append(name)
if check is flow_analysis.REACHABLE: