1
0
forked from VimPlug/jedi

Issue with backslashes again in the fast parser.

This commit is contained in:
Dave Halter
2015-02-21 18:07:21 +01:00
parent 0b5a509e83
commit 3ec96b25cc
4 changed files with 27 additions and 9 deletions

View File

@@ -265,8 +265,8 @@ def generate_tokens(readline):
break
yield NAME, token, spos, prefix
elif initial == '\\' and line[start:] == '\\\n': # continued stmt
additional_prefix += line[start:]
continue
additional_prefix += prefix + line[start:]
break
else:
if token in '([{':
paren_level += 1