From 759be422fcf0fcca5a91b01e5ed7f752d95f0f8d Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 1 May 2001 16:29:53 +0000 Subject: Pouet --- lib/exceptions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/exceptions.c') diff --git a/lib/exceptions.c b/lib/exceptions.c index e59013b..72842a4 100644 --- a/lib/exceptions.c +++ b/lib/exceptions.c @@ -17,6 +17,7 @@ char *contexts[128]; int clevel = 0; +int global_error = 0; char *Estrdup(char *o) { @@ -82,6 +83,7 @@ void exception(int level, char *msg) case 1: fprintf(stderr, " Error description: %s\n", msg); flush_pile(); + global_error = 1; break; default: fprintf(stderr, "Error detected. Showing context.\n"); -- cgit v1.2.3