1
0
forked from VimPlug/jedi

Fix issues with error correction / newline correction.

This commit is contained in:
Dave Halter
2015-01-27 12:24:54 +01:00
parent 62e45aa42b
commit 5e8f8f7a8d
4 changed files with 40 additions and 13 deletions

View File

@@ -287,7 +287,7 @@ class UserContextParser(object):
print(scope, scope.subscopes)
for s in scope.subscopes + list(reversed(scope.flows)):
if isinstance(s, (pr.Scope, pr.Flow)):
print(s, self._position, s.end_pos, s.children,
print(s, self._position, 'X', s.start_pos, s.end_pos, s.children,
s.children[-2])
if s.start_pos <= self._position <= s.end_pos:
if isinstance(s, pr.Flow):