summaryrefslogtreecommitdiffstats
path: root/asmrun/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'asmrun/array.c')
-rw-r--r--asmrun/array.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/asmrun/array.c b/asmrun/array.c
index 7209a4ec0..91bacafd3 100644
--- a/asmrun/array.c
+++ b/asmrun/array.c
@@ -106,3 +106,7 @@ value make_array(init)
}
}
+void array_bound_error()
+{
+ fatal_error("out-of-bound access in array or string");
+}