pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:3411:    return; /* assume it is correct */       old_type = n->type;    n->type = 0;    n->node_info &= ~OPT_TYPE_NOT_FIXED;       /*    These two are needed if we want to extract types    from nodes while building the tree.    */ -  if( CAR(n) ) fix_type_field(CAR(n)); -  if( CDR(n) ) fix_type_field(CDR(n)); +  if( car_is_node(n) ) fix_type_field(CAR(n)); +  if( cdr_is_node(n) ) fix_type_field(CDR(n));       switch(n->token)    {    case F_SOFT_CAST:    if (CAR(n) && CAR(n)->type) {    struct pike_type *soft_type = NULL;    if (CDR(n) && (CDR(n)->token == F_CONSTANT) &&    (TYPEOF(CDR(n)->u.sval) == T_TYPE)) {    soft_type = CDR(n)->u.sval.u.type;    if ((n->type = soft_cast(soft_type, CAR(n)->type, 0))) {