summaryrefslogtreecommitdiffstats
path: root/byterun/intern.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/intern.c')
-rw-r--r--byterun/intern.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/byterun/intern.c b/byterun/intern.c
index b45e8d50d..0f385ce9f 100644
--- a/byterun/intern.c
+++ b/byterun/intern.c
@@ -590,3 +590,9 @@ void deserialize_block_8(void * data, long len)
intern_src += len * 8;
#endif
}
+
+void deserialize_error(char * msg)
+{
+ intern_cleanup();
+ failwith(msg);
+}