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.239 2007/01/05 14:52:27 grubba Exp $ + || $Id: pike_types.c,v 1.240 2007/01/08 09:24:12 grubba Exp $   */      #include "global.h" - RCSID("$Id: pike_types.c,v 1.239 2007/01/05 14:52:27 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.240 2007/01/08 09:24:12 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:4791:    case T_ARRAY:    case T_MULTISET:    type = type->car;    goto again;       case T_PROGRAM:    case T_TYPE:    case T_INT:    case T_FLOAT:    case T_STRING: +  case PIKE_T_ZERO:    case T_VOID:    return 1;    default:    Pike_fatal("pike_type_allow_premature_toss: Unknown type (code: %d)\n",    type->type);    /* NOT_REACHED */    return 0;    }   }