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.98 2002/12/16 12:12:37 mast Exp $ + || $Id: error.c,v 1.99 2003/01/04 15:22:11 nilsson 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"   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.98 2002/12/16 12:12:37 mast Exp $"); + RCSID("$Id: error.c,v 1.99 2003/01/04 15:22:11 nilsson Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      PMOD_EXPORT const char msg_fatal_error[] =    "%s:%d: Fatal error:\n";   #ifdef PIKE_DEBUG   PMOD_EXPORT const char msg_unsetjmp_nosync_1[] =    "UNSETJMP out of sync! (last SETJMP at %s)!\n";   PMOD_EXPORT const char msg_unsetjmp_nosync_2[] =
pike.git/src/error.c:39: Inside #if defined(PIKE_DEBUG)
   "LAST SETJMP: %s\n";   PMOD_EXPORT const char msg_unset_onerr_nosync_1[] =    "UNSET_ONERROR out of sync (%p != %p).\n"    "Last SET_ONERROR is from %s\n";   PMOD_EXPORT const char msg_unset_onerr_nosync_2[] =    "UNSET_ONERROR out of sync. No Pike_interpreter.recoveries left.\n";   PMOD_EXPORT const char msg_assert_onerr[] =    "%s ASSERT_ONERROR(%p) failed\n";   #endif   PMOD_EXPORT const char msg_bad_arg[] = -  "Bad argument %d to %s(). Expected %s\n"; +  "Bad argument %d to %s(). Expected %s.\n";   PMOD_EXPORT const char msg_too_few_args[] =    "Too few arguments to %s().\n";   PMOD_EXPORT const char msg_out_of_mem[] =    "Out of memory.\n";   PMOD_EXPORT const char msg_div_by_zero[] =    "Division by zero.\n";      /*    * Attempt to inhibit throwing of errors if possible.    * Used by exit_on_error() to avoid infinite sprintf() loops.