pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.139 2000/09/08 17:06:29 hubbe Exp $"); + RCSID("$Id: pike_types.c,v 1.140 2000/09/10 17:24:00 grubba Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"   #include "constants.h"   #include "object.h"   #include "multiset.h"
pike.git/src/pike_types.c:3304:    id=FIND_LFUN(s->u.program,LFUN_CREATE);    if(id>=0)    {    a=ID_FROM_INT(s->u.program, id)->type->str;    if((tmp=zzap_function_return(a, s->u.program->id)))    return tmp;    tmp=describe_type(ID_FROM_INT(s->u.program, id)->type);    /* yywarning("Failed to zzap function return for type: %s.", tmp->str);*/    free_string(tmp);    } +  } else { +  a=function_type_string->str; +  if((tmp=zzap_function_return(a, s->u.program->id))) +  return tmp;    }       a=tFunc( tNone ,tObj);    if((tmp=zzap_function_return(a, s->u.program->id)))    return tmp;       fatal("Completely failed to zzap function return!\n");    }       default: