Goto fixes.

This commit is contained in:
Dave Halter committed 2014-12-03 17:01:29 +01:00
1 parent 6314b80abd
commit 09ad3411da
3 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -484,7 +484,7 @@ class Evaluator(object):
self.find_types(typ, name, is_goto=True) for typ in types
))
else:
return self.find_types(scope, name, name.start_pos,
return self.find_types(scope, name, stmt.start_pos,
search_global=True, is_goto=True)