From 0f24f30c381478a5fff14b057168ba7240d3be61 Mon Sep 17 00:00:00 2001 From: n00b Date: Sat, 21 Dec 2024 02:45:02 -0500 Subject: [PATCH] Changed Error message for mismatch args in byref array --- rcbasic_build/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rcbasic_build/parser.h b/rcbasic_build/parser.h index d20f387..eadb9d7 100755 --- a/rcbasic_build/parser.h +++ b/rcbasic_build/parser.h @@ -1682,7 +1682,7 @@ bool pre_parse(int start_token = 0, int end_token = -1, int pp_flags, bool eval_ if(byref_type_flag) { type_error_exception tx; - tx.error_log = "[0.1]Expected " + rc_intToString(id[tmp_id].num_args) + " dimension in " + id[tmp_id].name; + tx.error_log = "[0]Expected " + rc_intToString(id[tmp_id].num_args) + " dimension in " + id[tmp_id].name; tx.tk_reg = token[i]; tx.num_args = id[tmp_id].num_args; tx.exception_used = false;