fix start_pos of multiple elements

This commit is contained in:
David Halter committed 2013-02-08 15:14:43 +01:00
1 parent 4f060ddcd9
commit 6c0a0e889c
4 files changed
+16 -9

No files matched your search

+2 -1
View File
@@ -373,7 +373,8 @@ def find_name(scope, name_str, position=None, search_global=False,
if not result and isinstance(nscope, er.Instance):
# __getattr__ / __getattribute__
result += check_getattr(nscope, name_str)
debug.dbg('sfn filter "%s" in %s: %s' % (name_str, nscope, result))
debug.dbg('sfn filter "%s" in %s: %s@%s' % (name_str, nscope, result,
position))
return result
def descriptor_check(result):