diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-05 20:55:33 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-05 20:55:33 -0700 |
commit | ec6de08243cf8f1a71063fd61082399907d88051 (patch) | |
tree | f88a251b3f35a8a9b49440f10c5b3838cd5ceba0 /unwind.c | |
parent | 989fecaf090d255e92c1c473e4888014cef538e8 (diff) | |
download | txr-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |