Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Include/Python-ast.h

    r2 r388  
    186186
    187187enum _expr_kind {BoolOp_kind=1, BinOp_kind=2, UnaryOp_kind=3, Lambda_kind=4,
    188                   IfExp_kind=5, Dict_kind=6, ListComp_kind=7,
    189                   GeneratorExp_kind=8, Yield_kind=9, Compare_kind=10,
    190                   Call_kind=11, Repr_kind=12, Num_kind=13, Str_kind=14,
    191                   Attribute_kind=15, Subscript_kind=16, Name_kind=17,
    192                   List_kind=18, Tuple_kind=19};
     188                  IfExp_kind=5, Dict_kind=6, Set_kind=7, ListComp_kind=8,
     189                  SetComp_kind=9, DictComp_kind=10, GeneratorExp_kind=11,
     190                  Yield_kind=12, Compare_kind=13, Call_kind=14, Repr_kind=15,
     191                  Num_kind=16, Str_kind=17, Attribute_kind=18,
     192                  Subscript_kind=19, Name_kind=20, List_kind=21, Tuple_kind=22};
    193193struct _expr {
    194194        enum _expr_kind kind;
     
    227227               
    228228                struct {
     229                        asdl_seq *elts;
     230                } Set;
     231               
     232                struct {
    229233                        expr_ty elt;
    230234                        asdl_seq *generators;
    231235                } ListComp;
     236               
     237                struct {
     238                        expr_ty elt;
     239                        asdl_seq *generators;
     240                } SetComp;
     241               
     242                struct {
     243                        expr_ty key;
     244                        expr_ty value;
     245                        asdl_seq *generators;
     246                } DictComp;
    232247               
    233248                struct {
     
    450465expr_ty _Py_Dict(asdl_seq * keys, asdl_seq * values, int lineno, int
    451466                 col_offset, PyArena *arena);
     467#define Set(a0, a1, a2, a3) _Py_Set(a0, a1, a2, a3)
     468expr_ty _Py_Set(asdl_seq * elts, int lineno, int col_offset, PyArena *arena);
    452469#define ListComp(a0, a1, a2, a3, a4) _Py_ListComp(a0, a1, a2, a3, a4)
    453470expr_ty _Py_ListComp(expr_ty elt, asdl_seq * generators, int lineno, int
    454471                     col_offset, PyArena *arena);
     472#define SetComp(a0, a1, a2, a3, a4) _Py_SetComp(a0, a1, a2, a3, a4)
     473expr_ty _Py_SetComp(expr_ty elt, asdl_seq * generators, int lineno, int
     474                    col_offset, PyArena *arena);
     475#define DictComp(a0, a1, a2, a3, a4, a5) _Py_DictComp(a0, a1, a2, a3, a4, a5)
     476expr_ty _Py_DictComp(expr_ty key, expr_ty value, asdl_seq * generators, int
     477                     lineno, int col_offset, PyArena *arena);
    455478#define GeneratorExp(a0, a1, a2, a3, a4) _Py_GeneratorExp(a0, a1, a2, a3, a4)
    456479expr_ty _Py_GeneratorExp(expr_ty elt, asdl_seq * generators, int lineno, int
Note: See TracChangeset for help on using the changeset viewer.