summaryrefslogtreecommitdiffstats
path: root/unwind.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-05 20:55:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-05 20:55:33 -0700
commitec6de08243cf8f1a71063fd61082399907d88051 (patch)
treef88a251b3f35a8a9b49440f10c5b3838cd5ceba0 /unwind.c
parent989fecaf090d255e92c1c473e4888014cef538e8 (diff)
downloadtxr-ec6de08243cf8f1a71063fd61082399907d88051.tar.gz
txr-ec6de08243cf8f1a71063fd61082399907d88051.tar.bz2
txr-ec6de08243cf8f1a71063fd61082399907d88051.zip
New exception type: system-error.
* lib.c (system_error_s): New symbol variable. (obj_init): Initialize new variable. * lib.h (system_error_s): Declared. * unwind.c (uw_init): Register system-error exception type.
Diffstat (limited to 'unwind.c')
-rw-r--r--unwind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unwind.c b/unwind.c
index 7d729ee0..ff022756 100644
--- a/unwind.c
+++ b/unwind.c
@@ -475,6 +475,7 @@ void uw_init(void)
uw_register_subtype(query_error_s, error_s);
uw_register_subtype(file_error_s, error_s);
uw_register_subtype(process_error_s, error_s);
+ uw_register_subtype(system_error_s, error_s);
uw_register_subtype(assert_s, error_s);
uw_register_subtype(syntax_error_s, error_s);
}