pike.git / src / docode.c

version» Context lines:

pike.git/src/docode.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: docode.c,v 1.77 2000/08/10 09:01:54 grubba Exp $"); + RCSID("$Id: docode.c,v 1.78 2000/08/15 16:13:55 grubba Exp $");   #include "las.h"   #include "program.h"   #include "pike_types.h"   #include "stralloc.h"   #include "interpret.h"   #include "constants.h"   #include "array.h"   #include "pike_macros.h"   #include "error.h"   #include "pike_memory.h"
pike.git/src/docode.c:228:    }   #endif    emit0(F_MARK);    do_docode(args,0);    emit1(F_CALL_LFUN, id);    return 1;   }      static int do_docode2(node *n,int flags)   { -  INT32 tmp1,tmp2,tmp3; +  ptrdiff_t tmp1,tmp2,tmp3;       if(!n) return 0;       if(flags & DO_LVALUE)    {    switch(n->token)    {    default:    yyerror("Illegal lvalue.");    emit1(F_NUMBER,0);
pike.git/src/docode.c:911:    emit1(F_ALIGN,sizeof(INT32));       current_switch_values_on_stack=0;    current_switch_case=1;    current_switch_default=-1;    current_switch_jumptable=(INT32 *)xalloc(sizeof(INT32)*(cases*2+2));    jumptable=(INT32 *)xalloc(sizeof(INT32)*(cases*2+2));       for(e=1; e<cases*2+2; e++)    { -  jumptable[e]=emit1(F_POINTER, 0); +  jumptable[e] = DO_NOT_WARN((INT32)emit1(F_POINTER, 0));    current_switch_jumptable[e]=-1;    }       current_switch_jumptable[current_switch_case++]=-1;       DO_CODE_BLOCK(CDR(n));      #ifdef PIKE_DEBUG    if(Pike_sp-save_sp != cases)    fatal("Count cases is wrong!\n");