From 7c9790d7726e0bb3f44bec15eff7631080d45b03 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 4 Aug 2023 18:20:32 +0100 Subject: valty_str -> typename_str --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index f7887d3..c420774 100644 --- a/vm.c +++ b/vm.c @@ -112,7 +112,7 @@ void runvm(Chunk *ch) { Val a = POP(); \ if (!IS_NUM(a) || !IS_NUM(b)) { \ printf("can't do arithmetic on %s and %s\n", \ - valty_str(a), valty_str(b)); \ + typename_str(a), typename_str(b)); \ goto done; \ } \ PUSH(VAL_NUM(AS_NUM(a) OP AS_NUM(b))); \ -- cgit v1.2.3