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.81 1999/11/26 01:31:08 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.82 1999/11/27 07:42:56 hubbe 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:447:    pop_stack_mark();    }    ++*s;    type_stack_mark();    internal_parse_type(_s); /* return type */    type_stack_reverse();    if(**s != ')') error("Missing ')' in function type.\n");    ++*s;    type_stack_reverse();    }else{ +  push_type(T_VOID);    push_type(T_MIXED); -  +  push_type(T_OR); +  push_type(T_VOID);    push_type(T_MIXED); -  +  push_type(T_OR);    push_type(T_MANY);    }    push_type(T_FUNCTION);    break;    }    if(!strcmp(buf,"float")) { push_type(T_FLOAT); break; }    goto bad_type;       case 'o':    if(!strcmp(buf,"object"))