summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-06 16:34:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-06 16:34:30 -0800
commit2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0 (patch)
tree6493a6d6fcc6654a25570a1f623a0d2c7436dece /lib.h
parent3d38f312065003330f2f9c6f504f0e634ba2a5b6 (diff)
downloadtxr-2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0.tar.gz
txr-2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0.tar.bz2
txr-2d9d9e5fb0fe70a195a74fd7a3f32f4ff5d22bf0.zip
Throw exception on stream error during close, or I/O operations. This
is needed for pipes that terminate abnormally or return failed termination. Pipe and stdio streams have an extra description field so they are printed in a readable way.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 45b454f5..03fede10 100644
--- a/lib.h
+++ b/lib.h
@@ -164,7 +164,7 @@ extern obj_t *define, *output, *single, *frst, *lst, *empty, *repeat, *rep;
extern obj_t *flattn, *forget, *local, *mrge, *bind, *cat, *args;
extern obj_t *try, *catch, *finally, *nothrow, *throw, *defex;
extern obj_t *error, *type_error, *internal_err, *numeric_err, *range_err;
-extern obj_t *query_error, *file_error;
+extern obj_t *query_error, *file_error, *process_error;
extern obj_t *zero, *one, *two, *negone, *maxint, *minint;
extern obj_t *null_string;