Skip to content
Snippets Groups Projects
Commit d8d252d3 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

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
parent 2d4993ec
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment