From 81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Fri, 21 Jun 2024 16:01:46 +0100 Subject: print -> puts --- vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 667ceed..eac0033 100644 --- a/vm.c +++ b/vm.c @@ -85,7 +85,7 @@ int runvm(State *S) { // printf(")\n"); break; } - case OP_PRINT: + case OP_PUTS: println_val(PEEK()); break; case OP_DROP: -- cgit v1.2.3