NT binary_subscr -> subscript to match AST

This commit is contained in:
rocky
2017-11-29 00:08:08 -05:00
parent fb695616a6
commit c81b4df8b7
7 changed files with 12 additions and 12 deletions

View File

@@ -11,7 +11,7 @@ class Python31Parser(Python32Parser):
def p_31(self, args):
"""
binary_subscr2 ::= expr expr DUP_TOPX BINARY_SUBSCR
subscript2 ::= expr expr DUP_TOPX BINARY_SUBSCR
setupwith ::= DUP_TOP LOAD_ATTR store LOAD_ATTR CALL_FUNCTION_0 POP_TOP
setupwithas ::= DUP_TOP LOAD_ATTR store LOAD_ATTR CALL_FUNCTION_0 store