summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-21 16:01:46 +0100
committerubq323 <ubq323@ubq323.website>2024-06-21 16:01:46 +0100
commit81662aa56b8ad2fa397b1d3e9dd3bb398c7d1798 (patch)
treeac788aa65d938f6fe1967863e5fe2296e6eacd7b /vm.c
parent377822b957c442b2ff0882b8325033487037be2b (diff)
print -> puts
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c2
1 files changed, 1 insertions, 1 deletions
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: