From d8d252d30b5ca83cdda819a3adc42d5c59cacd35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 11 Apr 1998 15:19:14 +0200 Subject: [PATCH] Disabled the __FILE__ and __LINE__ support in the ERROR() macro, since this information isn't usefull in most cases. Rev: src/error.h:1.16 --- src/error.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/error.h b/src/error.h index f19447e4d2..115189e2b8 100644 --- a/src/error.h +++ b/src/error.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: error.h,v 1.15 1998/04/10 15:22:38 grubba Exp $ + * $Id: error.h,v 1.16 1998/04/11 13:19:14 grubba Exp $ */ #ifndef ERROR_H #define ERROR_H @@ -79,7 +79,10 @@ extern int throw_severity; #define UNSET_ONERROR(X) recoveries && (recoveries->onerror=X.previous) #endif -#ifdef DEBUG +#if defined(DEBUG) && 0 +/* Works, but probably not interresting for most people + * /grubba 1998-04-11 + */ #define ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, __FILE__, __LINE__); #else #define ERROR(NAME, TEXT, SP, ARGS) new_error(NAME, TEXT, SP, ARGS, NULL, 0); -- GitLab