@@ -273,6 +273,11 @@ py_extracted_version(int module : @py_Module ref,
273
273
/* <Field> Ellipsis.location = 0, location */
274
274
/* <Field> Ellipsis.parenthesised = 1, bool */
275
275
276
+ /* <Field> ExceptGroupStmt.location = 0, location */
277
+ /* <Field> ExceptGroupStmt.type = 1, expr */
278
+ /* <Field> ExceptGroupStmt.name = 2, expr */
279
+ /* <Field> ExceptGroupStmt.body = 3, stmt_list */
280
+
276
281
/* <Field> ExceptStmt.location = 0, location */
277
282
/* <Field> ExceptStmt.type = 1, expr */
278
283
/* <Field> ExceptStmt.name = 2, expr */
@@ -863,25 +868,26 @@ case @py_stmt.kind of
863
868
| 4 = @py_Continue
864
869
| 5 = @py_Delete
865
870
| 6 = @py_ExceptStmt
866
- | 7 = @py_Exec
867
- | 8 = @py_Expr_stmt
868
- | 9 = @py_For
869
- | 10 = @py_Global
870
- | 11 = @py_If
871
- | 12 = @py_Import
872
- | 13 = @py_ImportStar
873
- | 14 = @py_MatchStmt
874
- | 15 = @py_Case
875
- | 16 = @py_Nonlocal
876
- | 17 = @py_Pass
877
- | 18 = @py_Print
878
- | 19 = @py_Raise
879
- | 20 = @py_Return
880
- | 21 = @py_Try
881
- | 22 = @py_While
882
- | 23 = @py_With
883
- | 24 = @py_TemplateWrite
884
- | 25 = @py_AnnAssign;
871
+ | 7 = @py_ExceptGroupStmt
872
+ | 8 = @py_Exec
873
+ | 9 = @py_Expr_stmt
874
+ | 10 = @py_For
875
+ | 11 = @py_Global
876
+ | 12 = @py_If
877
+ | 13 = @py_Import
878
+ | 14 = @py_ImportStar
879
+ | 15 = @py_MatchStmt
880
+ | 16 = @py_Case
881
+ | 17 = @py_Nonlocal
882
+ | 18 = @py_Pass
883
+ | 19 = @py_Print
884
+ | 20 = @py_Raise
885
+ | 21 = @py_Return
886
+ | 22 = @py_Try
887
+ | 23 = @py_While
888
+ | 24 = @py_With
889
+ | 25 = @py_TemplateWrite
890
+ | 26 = @py_AnnAssign;
885
891
886
892
case @py_unaryop.kind of
887
893
0 = @py_Invert
@@ -907,7 +913,7 @@ case @py_unaryop.kind of
907
913
908
914
@py_expr_or_stmt = @py_expr | @py_stmt;
909
915
910
- @py_expr_parent = @py_AnnAssign | @py_Assert | @py_Assign | @py_AssignExpr | @py_Attribute | @py_AugAssign | @py_Await | @py_BinaryExpr | @py_Call | @py_Case | @py_Compare | @py_DictComp | @py_DictUnpacking | @py_ExceptStmt | @py_Exec | @py_Expr_stmt | @py_Filter | @py_For | @py_FormattedValue | @py_Function | @py_FunctionExpr | @py_GeneratorExp | @py_Guard | @py_If | @py_IfExp | @py_ImportMember | @py_ImportStar | @py_KeyValuePair | @py_ListComp | @py_MatchAsPattern | @py_MatchCapturePattern | @py_MatchClassPattern | @py_MatchKeywordPattern | @py_MatchLiteralPattern | @py_MatchStmt | @py_MatchValuePattern | @py_Print | @py_Raise | @py_Repr | @py_Return | @py_SetComp | @py_Slice | @py_Starred | @py_Subscript | @py_TemplateDottedNotation | @py_TemplateWrite | @py_UnaryExpr | @py_While | @py_With | @py_Yield | @py_YieldFrom | @py_alias | @py_arguments | @py_comprehension | @py_expr_list | @py_keyword | @py_parameter_list;
916
+ @py_expr_parent = @py_AnnAssign | @py_Assert | @py_Assign | @py_AssignExpr | @py_Attribute | @py_AugAssign | @py_Await | @py_BinaryExpr | @py_Call | @py_Case | @py_Compare | @py_DictComp | @py_DictUnpacking | @py_ExceptGroupStmt | @ py_ExceptStmt | @py_Exec | @py_Expr_stmt | @py_Filter | @py_For | @py_FormattedValue | @py_Function | @py_FunctionExpr | @py_GeneratorExp | @py_Guard | @py_If | @py_IfExp | @py_ImportMember | @py_ImportStar | @py_KeyValuePair | @py_ListComp | @py_MatchAsPattern | @py_MatchCapturePattern | @py_MatchClassPattern | @py_MatchKeywordPattern | @py_MatchLiteralPattern | @py_MatchStmt | @py_MatchValuePattern | @py_Print | @py_Raise | @py_Repr | @py_Return | @py_SetComp | @py_Slice | @py_Starred | @py_Subscript | @py_TemplateDottedNotation | @py_TemplateWrite | @py_UnaryExpr | @py_While | @py_With | @py_Yield | @py_YieldFrom | @py_alias | @py_arguments | @py_comprehension | @py_expr_list | @py_keyword | @py_parameter_list;
911
917
912
918
@py_location_parent = @py_DictUnpacking | @py_KeyValuePair | @py_StringPart | @py_comprehension | @py_expr | @py_keyword | @py_pattern | @py_stmt;
913
919
@@ -919,7 +925,7 @@ case @py_unaryop.kind of
919
925
920
926
@py_scope = @py_Class | @py_Function | @py_Module;
921
927
922
- @py_stmt_list_parent = @py_Case | @py_Class | @py_ExceptStmt | @py_For | @py_Function | @py_If | @py_MatchStmt | @py_Module | @py_Try | @py_While | @py_With;
928
+ @py_stmt_list_parent = @py_Case | @py_Class | @py_ExceptGroupStmt | @ py_ExceptStmt | @py_For | @py_Function | @py_If | @py_MatchStmt | @py_Module | @py_Try | @py_While | @py_With;
923
929
924
930
@py_str_list_parent = @py_Global | @py_Nonlocal;
925
931
0 commit comments