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.258 2006/10/27 18:19:42 grubba Exp $ + || $Id: pike_types.c,v 1.259 2007/01/05 14:52:19 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:4990:    goto again;       case T_PROGRAM:    case T_TYPE:    case T_INT:    case T_FLOAT:    case T_STRING:    case T_VOID:    return 1;    default: -  Pike_fatal("pike_type_allow_premature_toss: Unknown type code (%d)\n", -  ((unsigned char *)type)[-1]); +  Pike_fatal("pike_type_allow_premature_toss: Unknown type (code: %d)\n", +  type->type);    /* NOT_REACHED */    return 0;    }   }      static void low_type_to_string(struct pike_type *t)   {    recurse:    switch(t->type) {    case T_ARRAY: