summaryrefslogtreecommitdiffstats
path: root/lib.h
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 /lib.h
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 'lib.h')
-rw-r--r--lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index fbdc06a8..86cf0b01 100644
--- a/lib.h
+++ b/lib.h
@@ -392,6 +392,7 @@ extern val eof_s, eol_s, assert_s;
extern val error_s, type_error_s, internal_error_s;
extern val numeric_error_s, range_error_s;
extern val query_error_s, file_error_s, process_error_s, syntax_error_s;
+extern val system_error_s;
extern val gensym_counter_s;
#define gensym_counter (deref(lookup_var_l(nil, gensym_counter_s)))