Fixing most of the issues that existed, because of the recent Name.get_definition/Call.name.parent change.

This commit is contained in:
Dave Halter committed 2014-09-06 13:02:52 +02:00
1 parent 2e7e2f0a29
commit ece9fdf4ae
3 files changed
+12 -11

No files matched your search

+3
View File
@@ -43,6 +43,9 @@ class KeywordName(object):
self.names = [name]
self.start_pos = start_pos
def get_definition(self):
return self.parent
@property
def end_pos(self):
return self.start_pos[0], self.start_pos[1] + len(self.name)