aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode/errors.c')
-rw-r--r--src/bytecode/errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode/errors.c b/src/bytecode/errors.c
index d957cfa..c2ab77f 100644
--- a/src/bytecode/errors.c
+++ b/src/bytecode/errors.c
@@ -15,6 +15,8 @@ static const char* error_msgs[] = {
15 [ERR_TOO_MANY_ARGS] = "error: too many arguments", 15 [ERR_TOO_MANY_ARGS] = "error: too many arguments",
16 [ERR_WRONG_ARG_TYPE] = "error: wrong argument type", 16 [ERR_WRONG_ARG_TYPE] = "error: wrong argument type",
17 [ERR_DIVISION_BY_ZERO] = "error: division by zero", 17 [ERR_DIVISION_BY_ZERO] = "error: division by zero",
18 [ERR_PC_OOB] = "error: pc out of bounds",
19 [ERR_EMPTY_CHUNK] = "error: empty chunk",
18}; 20};
19 21
20static Error errors[ERR_MAX_NUMBER]; 22static Error errors[ERR_MAX_NUMBER];