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.105 1999/12/19 14:56:37 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.106 1999/12/19 16:08:22 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:956:    my_strcat("(");    t=low_describe_type(t);    my_strcat(")");    }else{    t++;    }    break;       case T_NOT:    my_strcat("!"); +  if (EXTRACT_UCHAR(t) > T_NOT) { +  my_strcat("(");    t=low_describe_type(t); -  +  my_strcat(")"); +  } else { +  t=low_describe_type(t); +  }    break;       case T_OR: -  +  if (EXTRACT_UCHAR(t) > T_OR) { +  my_strcat("(");    t=low_describe_type(t); -  +  my_strcat(")"); +  } else { +  t=low_describe_type(t); +  }    my_strcat(" | "); -  +  if (EXTRACT_UCHAR(t) > T_OR) { +  my_strcat("(");    t=low_describe_type(t); -  +  my_strcat(")"); +  } else { +  t=low_describe_type(t); +  }    break;       case T_AND: -  +  if (EXTRACT_UCHAR(t) > T_AND) { +  my_strcat("(");    t=low_describe_type(t); -  +  my_strcat(")"); +  } else { +  t=low_describe_type(t); +  }    my_strcat(" & "); -  +  if (EXTRACT_UCHAR(t) > T_AND) { +  my_strcat("(");    t=low_describe_type(t); -  +  my_strcat(")"); +  } else { +  t=low_describe_type(t); +  }    break;       case T_MAPPING:    my_strcat("mapping");    if(EXTRACT_UCHAR(t)==T_MIXED && EXTRACT_UCHAR(t+1)==T_MIXED)    {    t+=2;    }else{    my_strcat("(");    t=low_describe_type(t);