precedence working for some simple cases (and invalid statements)
This commit is contained in:
1 parent
f2e2a684d5
commit
0dcc924cf8
3 files changed
+16
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user