pike.git / src / las.c

version» Context lines:

pike.git/src/las.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: las.c,v 1.254 2001/06/23 21:52:09 hubbe Exp $"); + RCSID("$Id: las.c,v 1.255 2001/07/02 20:09:17 mast Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:1745:    SET_CYCLIC_RET(c+1);    ref_push_string(id);    {    struct svalue *save_sp = Pike_sp-2;    JMP_BUF recovery;    if (SETJMP(recovery)) {    /* f_index() threw an error!    *    * FIXME: Report the error thrown.    */ +  free_svalue(&throw_value); +  throw_value.type = T_INT;    if (Pike_sp > save_sp) {    pop_n_elems(Pike_sp - save_sp);    } else if (Pike_sp != save_sp) {    fatal("f_index() munged stack!\n");    }    push_int(0);    Pike_sp[-1].subtype = NUMBER_UNDEFINED;    } else {    f_index(2);    }
pike.git/src/las.c:4991:    yyerror("Nonstandard error format.");    else    yyerror(Pike_sp[-1].u.string->str);    pop_stack();    }    else    {    yyerror("Nonstandard error format.");    }    } +  free_svalue(&throw_value); +  throw_value.type = T_INT;    }else{    if(foo.yes)    pop_n_elems(Pike_sp-save_sp);    else    ret=Pike_sp-save_sp;    }       remove_callback(tmp_callback);    }