1
0
forked from VimPlug/jedi

precedence working for some simple cases (and invalid statements)

This commit is contained in:
Dave Halter
2014-03-08 02:24:25 +01:00
parent f2e2a684d5
commit 0dcc924cf8
3 changed files with 16 additions and 6 deletions

View File

@@ -581,7 +581,7 @@ class Parser(object):
continue
# default
elif token_type in (tokenize.NAME, tokenize.STRING,
tokenize.NUMBER) \
tokenize.NUMBER, tokenize.OP) \
or tok_str in statement_toks:
# this is the main part - a name can be a function or a
# normal var, which can follow anything. but this is done