pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: pike_types.c,v 1.300 2007/04/26 15:09:58 grubba Exp $ + || $Id: pike_types.c,v 1.301 2007/04/26 17:24:48 grubba Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:5290:    /* FIXME: Adjust the return type to tmp2! */    copy_pike_type(res, soft_type);    }    } else {    tmp2 = NULL;    copy_pike_type(res, soft_type);    }    break;    }    } else if (orig_type->type == T_OBJECT) { -  if ((tmp == low_object_lfun_type(orig_type, LFUN_CALL))) { +  if ((tmp = low_object_lfun_type(orig_type, LFUN_CALL))) {    orig_type = tmp;    tmp = NULL;    } else {    /* FIXME: Multiple cases. */    copy_pike_type(res, orig_type);    break;    }    }    /* FIXME: Loop above until function? */    if ((orig_type->type != T_FUNCTION) &&