diff options
author | Pixel <Pixel> | 2001-05-01 16:29:53 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-05-01 16:29:53 +0000 |
commit | 759be422fcf0fcca5a91b01e5ed7f752d95f0f8d (patch) | |
tree | 87652f23ced34ec3cdc3e8978439626c1d1af32e /lib/exceptions.c | |
parent | 368207e46ca78ec42d77a3b1d3539cf4250617eb (diff) |
Pouet
Diffstat (limited to 'lib/exceptions.c')
-rw-r--r-- | lib/exceptions.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |