renaming and goto work now +/-

This commit is contained in:
David Halter committed 2012-09-22 00:15:32 +02:00
1 parent 32b51e0c68
commit fd760f1870
4 files changed
+28 -19

No files matched your search

+1 -1
View File
@@ -350,7 +350,7 @@ def related_names(definitions, search_name, mods):
#follow_res = evaluate.goto(scopes, search, statement_path_offset=0,
# follow_import=True)
#follow_res = evaluate.goto2(scopes, search)
follow_res, search = evaluate.goto3(call, f)
follow_res, search = evaluate.goto3(call.parent_stmt(), f)
# compare to see if they match
if True in [r in definitions for r in follow_res]: