3.6 generates Wonky EXTENDED_ARG in expression

Fixes Issue #102
This commit is contained in:
rocky
2017-04-15 18:29:44 -04:00
parent 8a776176e2
commit 8a33a583cd
3 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,2 @@
if __file__:
x = 5

View File

@@ -16,6 +16,8 @@ class Python36Parser(Python35Parser):
def p_36misc(self, args):
"""
expr ::= LOAD_NAME EXTENDED_ARG
fstring_multi ::= fstring_expr_or_strs BUILD_STRING
fstring_expr_or_strs ::= fstring_expr_or_str+