Branch: Tag:

2000-11-20

2000-11-20 01:20:26 by Martin Stjernholm <mast@lysator.liu.se>

Reserve some stack room to give handle_error a fighting chance to report
out-of-stack errors without getting them itself.

Rev: src/backend.c:1.60
Rev: src/interpret.c:1.173
Rev: src/interpret.h:1.68
Rev: src/las.c:1.222
Rev: src/main.c:1.107
Rev: src/program.c:1.282
Rev: src/threads.c:1.145

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.221 2000/10/03 18:18:29 grubba Exp $"); + RCSID("$Id: las.c,v 1.222 2000/11/20 01:20:25 mast Exp $");      #include "language.h"   #include "interpret.h"
1517:       if(SETJMP(tmp))    { -  ONERROR tmp; +     struct svalue s;    -  SET_ONERROR(tmp,exit_on_error,"Error in handle_error in master object!"); -  assign_svalue_no_free(Pike_sp++, &throw_value); +     assign_svalue_no_free(&s, &throw_value); -  APPLY_MASTER("handle_error", 1); -  pop_stack(); -  UNSET_ONERROR(tmp); +  call_handle_error();       if (node_name) {    my_yyerror("Couldn't index module '%s'.", node_name);