pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.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: interpret.c,v 1.199 2001/05/14 17:51:20 grubba Exp $"); + RCSID("$Id: interpret.c,v 1.200 2001/05/24 22:39:00 hubbe Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:932:    {    /* The test above assures these two areas    * are not overlapping    */    assign_svalues(save_sp, Pike_sp-args-1, args+1, BIT_MIXED);    pop_n_elems(Pike_sp-save_sp-args-1);    }    arg1=(void *)(Pike_sp-args-1);       case APPLY_SVALUE: +  case APPLY_SVALUE_STRICT:    apply_svalue:    {    struct svalue *s=(struct svalue *)arg1;    switch(s->type)    {    case T_INT:    if (!s->u.integer) {    PIKE_ERROR("0", "Attempt to call the NULL-value\n", Pike_sp, args);    } else {    Pike_error("Attempt to call the value %"PRINTPIKEINT"d\n",
pike.git/src/interpret.c:1355:    if(save_sp+1 < Pike_sp)    {    assign_svalue(save_sp,Pike_sp-1);    pop_n_elems(Pike_sp-save_sp-1);       destruct_objects_to_destruct(); /* consider using a flag for immediate destruct instead... */    }       if(save_sp+1 > Pike_sp)    { -  if(type != APPLY_SVALUE) +  if(type != APPLY_SVALUE_STRICT)    push_int(0);    }else{    if(t_flag>1) trace_return_value();    }    return 0;   }         void low_return(void)   {