Branch: Tag:

2001-07-02

2001-07-02 20:32:57 by Martin Stjernholm <mast@lysator.liu.se>

Take more care to avoid leaving throw_svalue around with a backtrace.

Rev: src/backend.c:1.65
Rev: src/cpp.c:1.86
Rev: src/interpret.c:1.188
Rev: src/interpret.h:1.81
Rev: src/language.yacc:1.231
Rev: src/las.c:1.236
Rev: src/mapping.c:1.119
Rev: src/modules/Java/jvm.c:1.34
Rev: src/object.c:1.162
Rev: src/preprocessor.h:1.39
Rev: src/svalue.c:1.99

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.235 2001/06/07 21:48:10 hubbe Exp $"); + RCSID("$Id: las.c,v 1.236 2001/07/02 20:32:55 mast Exp $");      #include "language.h"   #include "interpret.h"
1645:    *    * 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) {
4551:    yyerror("Nonstandard error format.");    }    } +  free_svalue(&throw_value); +  throw_value.type = T_INT;    }else{    if(foo.yes)    pop_n_elems(Pike_sp-save_sp);