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.111 1999/12/22 00:21:04 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.112 1999/12/23 21:22:37 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:128:    mixed_type_string=CONSTTYPE(tMix);    array_type_string=CONSTTYPE(tArray);    multiset_type_string=CONSTTYPE(tMultiset);    mapping_type_string=CONSTTYPE(tMapping);    function_type_string=CONSTTYPE(tFunction);    type_type_string=CONSTTYPE(tType);    void_type_string=CONSTTYPE(tVoid);    zero_type_string=CONSTTYPE(tZero);    any_type_string=CONSTTYPE(tOr(tVoid,tMix));    weak_type_string=CONSTTYPE(tOr4(tArray,tMultiset,tMapping, -  tFuncV(tNone,tZero,tMix))); +  tFuncV(tNone,tZero,tOr(tMix,tVoid))));   }      static int type_length(char *t)   {    char *q=t;   one_more_type:    switch(EXTRACT_UCHAR(t++))    {    default:    fatal("error in type string %d.\n",EXTRACT_UCHAR(t-1));