Branch: Tag:

2003-03-29

2003-03-29 14:07:46 by Martin Stjernholm <mast@lysator.liu.se>

Avoid type aliasing.

Rev: src/pike_types.c:1.148

5:   \*/   /**/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.147 2001/06/29 17:13:26 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.148 2003/03/29 14:07:46 mast Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"
654:      static void internal_parse_typeB(char **s)   { -  while(ISSPACE(**((unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;    switch(**s)    {    case '!':
666:    case '(':    ++*s;    internal_parse_type(s); -  while(ISSPACE(**((unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;    if(**s != ')') Pike_error("Expecting ')'.\n");    ++*s;    break;
681:   {    internal_parse_typeB(s);    -  while(ISSPACE(**((unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;       while(**s == '*')    {    ++*s; -  while(ISSPACE(**((unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;    push_type(T_ARRAY);    }   }
699:    internal_parse_typeCC(s);    type_stack_reverse();    -  while(ISSPACE(**((unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;       if(**s == '&')    {
718:   {    internal_parse_typeC(s);    -  while(ISSPACE(**((unsigned char **)s))) ++*s; +  while(ISSPACE(EXTRACT_UCHAR(*s))) ++*s;       while(**s == '|')    {