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.66 1999/11/21 18:04:16 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.67 1999/11/21 21:06:56 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:1067:    return 1;    }    return is_complex;   }      static int low_and_push_complex_pike_type(char *type)   {    int is_complex = 0;    while(EXTRACT_UCHAR(type) == T_OR)    { +  int new_complex;    type++; -  is_complex |= low_and_push_complex_pike_type(type); +  new_complex |= low_and_push_complex_pike_type(type); +  if (new_complex) { +  push_type(T_OR); +  is_complex = 1; +  }    type += type_length(type);    }    switch(EXTRACT_UCHAR(type)) {    case T_VOID:    case T_STRING:    case T_FLOAT:    case T_INT:    /* Simple type. Already handled. */    break;    default: