@@ -184,10 +184,10 @@ struct _stmt {
184184};
185185
186186enum _expr_kind {BoolOp_kind = 1 , BinOp_kind = 2 , UnaryOp_kind = 3 , Lambda_kind = 4 ,
187- IfExp_kind = 5 , Dict_kind = 6 , ListComp_kind = 7 ,
188- GeneratorExp_kind = 8 , Yield_kind = 9 , Compare_kind = 10 ,
189- Call_kind = 11 , Num_kind = 12 , Str_kind = 13 , Attribute_kind = 14 ,
190- Subscript_kind = 15 , Name_kind = 16 , List_kind = 17 , Tuple_kind = 18 };
187+ IfExp_kind = 5 , Dict_kind = 6 , Set_kind = 7 , ListComp_kind = 8 ,
188+ GeneratorExp_kind = 9 , Yield_kind = 10 , Compare_kind = 11 ,
189+ Call_kind = 12 , Num_kind = 13 , Str_kind = 14 , Attribute_kind = 15 ,
190+ Subscript_kind = 16 , Name_kind = 17 , List_kind = 18 , Tuple_kind = 19 };
191191struct _expr {
192192 enum _expr_kind kind ;
193193 union {
@@ -223,6 +223,10 @@ struct _expr {
223223 asdl_seq * values ;
224224 } Dict ;
225225
226+ struct {
227+ asdl_seq * elts ;
228+ } Set ;
229+
226230 struct {
227231 expr_ty elt ;
228232 asdl_seq * generators ;
@@ -399,6 +403,7 @@ expr_ty IfExp(expr_ty test, expr_ty body, expr_ty orelse, int lineno, int
399403 col_offset , PyArena * arena );
400404expr_ty Dict (asdl_seq * keys , asdl_seq * values , int lineno , int col_offset ,
401405 PyArena * arena );
406+ expr_ty Set (asdl_seq * elts , int lineno , int col_offset , PyArena * arena );
402407expr_ty ListComp (expr_ty elt , asdl_seq * generators , int lineno , int
403408 col_offset , PyArena * arena );
404409expr_ty GeneratorExp (expr_ty elt , asdl_seq * generators , int lineno , int
0 commit comments