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.75 1999/11/25 01:01:44 grubba Exp $"); + RCSID("$Id: pike_types.c,v 1.76 1999/11/25 04:25:42 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:241:    return ret;   }      void push_unfinished_type(char *s)   {    int e;    e=type_length(s);    for(e--;e>=0;e--) push_type(s[e]);   }    - static void push_unfinished_type_with_markers(char *s, struct pike_string **am) + static void push_unfinished_type_with_markers(char *s, +  struct pike_string **am)   {    int d,e,c,len=type_length(s);    type_stack_mark();    for(e=0;e<len;e++)    {    switch(c=EXTRACT_UCHAR(s+e))    {   #if 1    case '0': case '1': case '2': case '3': case '4':    case '5': case '6': case '7': case '8': case '9':    if(am[c-'0'])    {    push_finished_type_backwards(am[c-'0']);    }else{    push_type(T_ZERO);    }    break;   #endif    case T_ASSIGN: -  + #if 1 +  e++; + #else    push_type(c);    push_type(EXTRACT_UCHAR(s+ ++e)); -  + #endif    break;       case T_INT:    push_type(c);    for(d=0;d<(int)sizeof(INT32)*2;d++)    push_type(EXTRACT_UCHAR(s+ ++e));    break;       case T_OBJECT:    push_type(c);