Branch: Tag:

2003-04-28

2003-04-28 00:34:12 by Martin Stjernholm <mast@lysator.liu.se>

Avoid false alarms with TRACE_UNFINISHED_TYPE_FIELDS.

Rev: src/error.c:1.107
Rev: src/gc.c:1.217

2:   || 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.106 2003/04/07 17:28:55 nilsson Exp $ + || $Id: error.c,v 1.107 2003/04/28 00:34:12 mast Exp $   */      #define NO_PIKE_SHORTHAND
23:   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.106 2003/04/07 17:28:55 nilsson Exp $"); + RCSID("$Id: error.c,v 1.107 2003/04/28 00:34:12 mast Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)
111:      PMOD_EXPORT DECLSPEC(noreturn) void pike_throw(void) ATTRIBUTE((noreturn))   { + #ifdef TRACE_UNFINISHED_TYPE_FIELDS +  accept_unfinished_type_fields++; + #endif +     while(Pike_interpreter.recoveries && throw_severity > Pike_interpreter.recoveries->severity)    {    while(Pike_interpreter.recoveries->onerror)
158:    }   #endif    + #ifdef TRACE_UNFINISHED_TYPE_FIELDS +  accept_unfinished_type_fields--; + #endif +     longjmp(Pike_interpreter.recoveries->recovery,1);   }