@@ -660,7 +660,7 @@ def customize_grammar_rules_full38(self, tokens, customize):
660660 elif opname == "SETUP_WITH" :
661661 rules_str = """
662662 stmt ::= with
663- stmt ::= withasstmt
663+ stmt ::= with_as
664664 c_stmt ::= c_with
665665
666666 c_with ::= expr SETUP_WITH POP_TOP
@@ -677,14 +677,14 @@ def customize_grammar_rules_full38(self, tokens, customize):
677677 COME_FROM_WITH
678678 with_suffix
679679
680- withasstmt ::= expr SETUP_WITH store suite_stmts_opt COME_FROM_WITH
680+ with_as ::= expr SETUP_WITH store suite_stmts_opt COME_FROM_WITH
681681 with_suffix
682682
683683 with ::= expr
684684 SETUP_WITH POP_TOP suite_stmts_opt
685685 POP_BLOCK LOAD_CONST COME_FROM_WITH
686686 with_suffix
687- withasstmt ::= expr
687+ with_as ::= expr
688688 SETUP_WITH store suite_stmts_opt
689689 POP_BLOCK LOAD_CONST COME_FROM_WITH
690690 with_suffix
@@ -693,7 +693,7 @@ def customize_grammar_rules_full38(self, tokens, customize):
693693 SETUP_WITH POP_TOP suite_stmts_opt
694694 POP_BLOCK LOAD_CONST COME_FROM_WITH
695695 with_suffix
696- withasstmt ::= expr
696+ with_as ::= expr
697697 SETUP_WITH store suite_stmts_opt
698698 POP_BLOCK LOAD_CONST COME_FROM_WITH
699699 with_suffix
@@ -722,16 +722,16 @@ def customize_grammar_rules_full38(self, tokens, customize):
722722 with_suffix
723723
724724
725- withasstmt ::= expr
725+ with_as ::= expr
726726 SETUP_WITH store suite_stmts
727727 POP_BLOCK LOAD_CONST COME_FROM_WITH
728728
729- withasstmt ::= expr
729+ with_as ::= expr
730730 SETUP_WITH store suite_stmts
731731 POP_BLOCK BEGIN_FINALLY COME_FROM_WITH
732732 with_suffix
733733
734- # withasstmt ::= expr SETUP_WITH store suite_stmts
734+ # with_as ::= expr SETUP_WITH store suite_stmts
735735 # COME_FROM expr COME_FROM POP_BLOCK ROT_TWO
736736 # BEGIN_FINALLY WITH_CLEANUP_START WITH_CLEANUP_FINISH
737737 # POP_FINALLY RETURN_VALUE COME_FROM_WITH
@@ -1222,7 +1222,7 @@ def customize_grammar_rules38(self, tokens, customize):
12221222 elif opname == "SETUP_WITH" :
12231223 rules_str = """
12241224 stmt ::= with
1225- stmt ::= withasstmt
1225+ stmt ::= with_as
12261226 c_stmt ::= c_with
12271227
12281228 c_with ::= expr SETUP_WITH POP_TOP
@@ -1239,14 +1239,14 @@ def customize_grammar_rules38(self, tokens, customize):
12391239 COME_FROM_WITH
12401240 with_suffix
12411241
1242- withasstmt ::= expr SETUP_WITH store suite_stmts_opt COME_FROM_WITH
1242+ with_as ::= expr SETUP_WITH store suite_stmts_opt COME_FROM_WITH
12431243 with_suffix
12441244
12451245 with ::= expr
12461246 SETUP_WITH POP_TOP suite_stmts_opt
12471247 POP_BLOCK LOAD_CONST COME_FROM_WITH
12481248 with_suffix
1249- withasstmt ::= expr
1249+ with_as ::= expr
12501250 SETUP_WITH store suite_stmts_opt
12511251 POP_BLOCK LOAD_CONST COME_FROM_WITH
12521252 with_suffix
@@ -1255,7 +1255,7 @@ def customize_grammar_rules38(self, tokens, customize):
12551255 SETUP_WITH POP_TOP suite_stmts_opt
12561256 POP_BLOCK LOAD_CONST COME_FROM_WITH
12571257 with_suffix
1258- withasstmt ::= expr
1258+ with_as ::= expr
12591259 SETUP_WITH store suite_stmts_opt
12601260 POP_BLOCK LOAD_CONST COME_FROM_WITH
12611261 with_suffix
@@ -1284,20 +1284,20 @@ def customize_grammar_rules38(self, tokens, customize):
12841284 with_suffix
12851285
12861286
1287- withasstmt ::= expr
1287+ with_as ::= expr
12881288 SETUP_WITH store suite_stmts
12891289 POP_BLOCK LOAD_CONST COME_FROM_WITH
12901290
1291- withasstmt ::= expr
1291+ with_as ::= expr
12921292 SETUP_WITH store suite_stmts
12931293 POP_BLOCK BEGIN_FINALLY COME_FROM_WITH
12941294 with_suffix
12951295
1296- # withasstmt ::= expr SETUP_WITH store suite_stmts
1297- # COME_FROM expr COME_FROM POP_BLOCK ROT_TWO
1298- # BEGIN_FINALLY WITH_CLEANUP_START WITH_CLEANUP_FINISH
1299- # POP_FINALLY RETURN_VALUE COME_FROM_WITH
1300- # WITH_CLEANUP_START WITH_CLEANUP_FINISH END_FINALLY
1296+ # with_as ::= expr SETUP_WITH store suite_stmts
1297+ # COME_FROM expr COME_FROM POP_BLOCK ROT_TWO
1298+ # BEGIN_FINALLY WITH_CLEANUP_START WITH_CLEANUP_FINISH
1299+ # POP_FINALLY RETURN_VALUE COME_FROM_WITH
1300+ # WITH_CLEANUP_START WITH_CLEANUP_FINISH END_FINALLY
13011301
13021302 with ::= expr SETUP_WITH POP_TOP suite_stmts_opt POP_BLOCK
13031303 BEGIN_FINALLY COME_FROM_WITH
0 commit comments