Further small flow_analysis corrections. Keywords are only equal to other keywords if they are the same. Not in case of the same value anymore.

This commit is contained in:
Dave Halter committed 2014-11-05 21:29:54 +01:00
1 parent 186ce2b70a
commit fa0f4b1e00
4 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ class ExecutedParam(pr.Param):
def eval(self, evaluator):
types = []
for v in self.values:
if isinstance(v, (pr.Simple, pr.Name, pr.Literal)):
if isinstance(v, (pr.Simple, pr.Leaf)):
types += evaluator.eval_element(v)
else:
types.append(v)