@@ -176,9 +176,9 @@ struct _stmt {
176176enum _expr_kind {BoolOp_kind = 1 , BinOp_kind = 2 , UnaryOp_kind = 3 , Lambda_kind = 4 ,
177177 IfExp_kind = 5 , Dict_kind = 6 , Set_kind = 7 , ListComp_kind = 8 ,
178178 GeneratorExp_kind = 9 , Yield_kind = 10 , Compare_kind = 11 ,
179- Call_kind = 12 , Num_kind = 13 , Str_kind = 14 , Ellipsis_kind = 15 ,
180- Attribute_kind = 16 , Subscript_kind = 17 , Name_kind = 18 ,
181- List_kind = 19 , Tuple_kind = 20 };
179+ Call_kind = 12 , Num_kind = 13 , Str_kind = 14 , Bytes_kind = 15 ,
180+ Ellipsis_kind = 16 , Attribute_kind = 17 , Subscript_kind = 18 ,
181+ Name_kind = 19 , List_kind = 20 , Tuple_kind = 21 };
182182struct _expr {
183183 enum _expr_kind kind ;
184184 union {
@@ -254,6 +254,10 @@ struct _expr {
254254 string s ;
255255 } Str ;
256256
257+ struct {
258+ string s ;
259+ } Bytes ;
260+
257261 struct {
258262 expr_ty value ;
259263 identifier attr ;
@@ -465,6 +469,8 @@ expr_ty _Py_Call(expr_ty func, asdl_seq * args, asdl_seq * keywords, expr_ty
465469expr_ty _Py_Num (object n , int lineno , int col_offset , PyArena * arena );
466470#define Str (a0 , a1 , a2 , a3 ) _Py_Str(a0, a1, a2, a3)
467471expr_ty _Py_Str (string s , int lineno , int col_offset , PyArena * arena );
472+ #define Bytes (a0 , a1 , a2 , a3 ) _Py_Bytes(a0, a1, a2, a3)
473+ expr_ty _Py_Bytes (string s , int lineno , int col_offset , PyArena * arena );
468474#define Ellipsis (a0 , a1 , a2 ) _Py_Ellipsis(a0, a1, a2)
469475expr_ty _Py_Ellipsis (int lineno , int col_offset , PyArena * arena );
470476#define Attribute (a0 , a1 , a2 , a3 , a4 , a5 ) _Py_Attribute(a0, a1, a2, a3, a4, a5)
0 commit comments