1
0
forked from VimPlug/jedi

Fix the prefix in tokenize, which was the wrong way around.

This commit is contained in:
Dave Halter
2015-01-29 17:10:00 +01:00
parent cf1b2ff54b
commit a3cdec819e

View File

@@ -195,7 +195,7 @@ def generate_tokens(readline, line_offset=0):
pos += 1
continue
prefix = pseudomatch.group(1) + additional_prefix
prefix = additional_prefix + pseudomatch.group(1)
additional_prefix = ''
start, pos = pseudomatch.span(2)
spos = (lnum, start)