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.63 1999/11/20 22:12:31 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.64 1999/11/20 22:15:45 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:1018:    {    if(!t2)    push_type(T_VOID);    else    push_unfinished_type(t2);    }    else if(!t2)    {    push_unfinished_type(t1);    } -  else if(EXTRACT_UCHAR(t1)==T_MIXED || EXTRACT_UCHAR(t2)==T_MIXED) +  else if(EXTRACT_UCHAR(t1)==T_MIXED)    { -  push_type(T_MIXED); +  push_unfinished_type(t2);    } -  +  else if(EXTRACT_UCHAR(t2)==T_MIXED) +  { +  push_unfinished_type(t1); +  }    else if(EXTRACT_UCHAR(t1)==T_INT && EXTRACT_UCHAR(t2)==T_INT)    {    INT32 i1,i2;    INT32 upper_bound,lower_bound;    i1=extract_type_int(t1+1+sizeof(INT32));    i2=extract_type_int(t2+1+sizeof(INT32));    upper_bound = MINIMUM(i1,i2);       i1=extract_type_int(t1+1);    i2=extract_type_int(t2+1);