summaryrefslogtreecommitdiff
path: root/src/lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lang.c')
-rw-r--r--src/lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lang.c b/src/lang.c
index bd287c75ee78..bc34e7c269f8 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -77,7 +77,7 @@ void bc_func_insert(BcFunc *f, BcProgram *p, char *name,
BcLoc *id = bc_vec_item(&f->autos, i);
if (BC_ERR(idx == id->loc && type == (BcType) id->idx)) {
const char *array = type == BC_TYPE_ARRAY ? "[]" : "";
- bc_vm_error(BC_ERROR_PARSE_DUP_LOCAL, line, name, array);
+ bc_vm_error(BC_ERR_PARSE_DUP_LOCAL, line, name, array);
}
}