start/end_pos refactored in parsing
This commit is contained in:
1 parent
a51a1f7aa0
commit
b0386d9c74
2 files changed
+5
-13
No files matched your search
+1
-1
@@ -62,7 +62,7 @@ class NoErrorTokenizer(object):
|
||||
self.readline))
|
||||
self.current = self.next()
|
||||
c = list(self.current)
|
||||
c[2] += self.line_offset, 0
|
||||
c[2] = self.line_offset + c[2][0], c[2][1]
|
||||
return c
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user