pike.git / src / pike_types.cmod

version» Context lines:

pike.git/src/pike_types.cmod:3932:    push_finished_type(ret);    free_type(ret);    push_finished_type(tmp);    free_type(tmp);    push_type(t->type);    return pop_unfinished_type();    }    return ret;       case T_MIXED: -  case T_ZERO: -  case T_VOID: +     break;    -  +  case T_ZERO: +  case T_VOID:    default: -  ref_push_string(lfun_strings[lfun]); -  yytype_report(REPORT_WARNING, NULL, 0, NULL, -  NULL, 0, t, -  1, "Expected object implementing lfun::%s()."); -  break; +  return NULL;    }      #if 0    /* FIXME: This does not work, as lfun_types contains narrow types    * (zero for arguments, etc), while we here want the wide type    * (mixed for arguments, etc).    */    s = low_mapping_string_lookup(lfun_types, lfun_strings[lfun]);      #ifdef PIKE_DEBUG