pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: error.c,v 1.154 2008/04/12 14:04:09 grubba Exp $ + || $Id: error.c,v 1.155 2008/05/24 12:28:58 mast Exp $   */      #define NO_PIKE_SHORTHAND   #include "global.h"   #include "svalue.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "interpret.h"   #include "stralloc.h"   #include "builtin_functions.h"
pike.git/src/error.c:122: Inside #if defined(PIKE_DEBUG)
   if(!Pike_fp)    Pike_fatal("Popped out of stack frames.\n");   #endif    POP_PIKE_FRAME();    }       (*Pike_interpreter.recoveries->onerror->func)(Pike_interpreter.recoveries->onerror->arg);    Pike_interpreter.recoveries->onerror=Pike_interpreter.recoveries->onerror->previous;    }    +  { +  JMP_BUF *prev_rec = Pike_interpreter.recoveries->previous;    if (Pike_interpreter.catch_ctx && -  &Pike_interpreter.catch_ctx->recovery == Pike_interpreter.recoveries) { +  (&Pike_interpreter.catch_ctx->recovery == +  Pike_interpreter.recoveries)) {    struct catch_context *cc = Pike_interpreter.catch_ctx;    Pike_interpreter.catch_ctx = cc->prev;    really_free_catch_context (cc);    } -  -  Pike_interpreter.recoveries=Pike_interpreter.recoveries->previous; +  Pike_interpreter.recoveries = prev_rec;    } -  +  }       if(!Pike_interpreter.recoveries)    Pike_fatal("No error recovery context.\n");       /* Don't pop the stack before the onerrors have run; they might need    * items from the stack.    */       while(Pike_interpreter.recoveries->onerror)    {