pike.git / src / las.c

version» Context lines:

pike.git/src/las.c:1588:    case T_FUNCTION:    case T_PROGRAM:    break;    }   }      void resolv_type(node *n)   {    resolv_constant(n);    +  if (TYPEOF(Pike_sp[-1]) == T_STRING) { +  /* Program name, etc */ +  if (call_handle_inherit(n->u.sval.u.string)) { +  stack_swap(); +  pop_stack(); +  } +  } +     if (TYPEOF(Pike_sp[-1]) == T_TYPE) {    /* "typedef" */    push_finished_type(Pike_sp[-1].u.type);    } else {    /* object type */    struct program *p = NULL;       if (TYPEOF(Pike_sp[-1]) == T_OBJECT) {    if(!(p = Pike_sp[-1].u.object->prog))    {