1
0
forked from VimPlug/jedi

the statement 'a=b=c' returned 'b' only and ignored 'a' - fixes #45

This commit is contained in:
David Halter
2012-11-07 17:54:45 +01:00
parent 0de5793187
commit dbb36fd9fb
2 changed files with 2 additions and 1 deletions

View File

@@ -1541,7 +1541,7 @@ class PyFuzzyParser(object):
elif tok.endswith('=') and tok not in ['>=', '<=', '==', '!=']:
# there has been an assignement -> change vars
if level == 0:
set_vars = used_vars
set_vars += used_vars
used_vars = []
elif tok in opening_brackets:
level += 1