Branch: Tag:

2003-03-29

2003-03-29 13:47:40 by Marcus Comstedt <marcus@mc.pp.se>

Avoid type aliasing.

Rev: src/pike_types.c:1.205

2:   || 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.204 2003/02/24 20:42:53 mast Exp $ + || $Id: pike_types.c,v 1.205 2003/03/29 13:47:40 marcus Exp $   */      #include "global.h" - RCSID("$Id: pike_types.c,v 1.204 2003/02/24 20:42:53 mast Exp $"); + RCSID("$Id: pike_types.c,v 1.205 2003/03/29 13:47:40 marcus Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"
1132:      static void internal_parse_typeB(const char **s)   { -  while(ISSPACE(**((const unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;    switch(**s)    {    case '!':
1144:    case '(':    ++*s;    internal_parse_type(s); -  while(ISSPACE(**((const unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;    if(**s != ')') Pike_error("Expecting ')'.\n");    ++*s;    break;
1159:   {    internal_parse_typeB(s);    -  while(ISSPACE(**((const unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;       while(**s == '*')    {    ++*s; -  while(ISSPACE(**((const unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;    push_type(T_ARRAY);    }   }