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.179 2001/04/23 21:30:04 marcus Exp $"); + RCSID("$Id: pike_types.c,v 1.180 2001/06/05 12:32:01 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:2294: Inside #if defined(PIKE_DEBUG)
  #ifdef PIKE_DEBUG    if((ptrdiff_t)b_markers[m]->type == m+'0')    fatal("Cyclic type!\n");   #endif    }    return ret;       case '0': case '1': case '2': case '3': case '4':    case '5': case '6': case '7': case '8': case '9':    { -  int m= ((ptrdiff_t)b->car)-'0'; +  int m = b->type - '0';    if(b_markers[m])    {   #ifdef PIKE_DEBUG    if(b_markers[m]->type == b->type)    fatal("Cyclic type!\n");   #endif    return low_match_types(a, b_markers[m], flags);    }    else    return low_match_types(a, mixed_type_string, flags);