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.165 2008/10/04 17:17:14 mast Exp $ + || $Id: error.c,v 1.166 2008/10/04 17:19:05 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:381:    "original error: %s, new error: %s", tmp, fmt);    }       in_error=fmt;       if(!Pike_interpreter.recoveries)    {    /* FIXME: Why not use Pike_fatal() here? */   #ifdef PIKE_DEBUG    if (d_flag) { -  fprintf(stderr,"No error recovery context!\n%s",s.s->str); +  fprintf(stderr,"No error recovery context!\n%s", fmt);    dump_backlog();    }   #endif    -  fprintf(stderr,"No error recovery context!\n%s",s.s->str); +  fprintf(stderr,"No error recovery context!\n%s", fmt);    exit(99);    }       va_make_error (fmt, args);    free_svalue(&throw_value);    move_svalue(&throw_value, --Pike_sp);    throw_severity = THROW_ERROR;    in_error = NULL;    pike_throw(); /* Hope someone is catching, or we will be out of balls. */   }