#include <tic.h>
-MODULE_ID("$Id: comp_error.c,v 1.14 1998/02/11 12:13:53 tom Exp $")
+MODULE_ID("$Id: comp_error.c,v 1.16 1998/08/01 23:39:51 tom Exp $")
bool _nc_suppress_warnings;
int _nc_curr_line; /* current line # in input */
vfprintf (stderr, fmt, argp);
fprintf (stderr, "\n");
va_end(argp);
+
+ /* If we're debugging, try to show where the problem occurred - this
+ * will dump core.
+ */
+#if defined(TRACE) || !defined(NDEBUG)
abort();
+#else
+ /* Dumping core in production code is not a good idea.
+ */
+ exit(EXIT_FAILURE);
+#endif
}