From 06c7e40642ee6288841f6eee5cd26b8212a66229 Mon Sep 17 00:00:00 2001 From: dzaima Date: Thu, 28 Oct 2021 21:22:15 +0300 Subject: [PATCH] =?UTF-8?q?=E2=8B=84=20=E2=86=92=20;=20in=20DEBUG=5FVM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm.c b/src/vm.c index cd57b53a..453e57e5 100644 --- a/src/vm.c +++ b/src/vm.c @@ -569,7 +569,7 @@ B evalBC(Block* bl, Body* b, Scope* sc) { // doesn't consume vmStack[stackNum] = bcPos; for(i32 i = 0; i < bcDepth; i++) printf(" "); printBC(sbc,20); printf("@%d in: ", bcPos); - for (i32 i = 0; i < lgStack-origStack; i++) { if(i)printf(" ⋄ "); print(origStack[i]); } putchar('\n'); fflush(stdout); + for (i32 i = 0; i < lgStack-origStack; i++) { if(i)printf("; "); print(origStack[i]); } putchar('\n'); fflush(stdout); bcCtr++; for (i32 i = 0; i < sc->varAm; i++) VALIDATE(sc->vars[i]); #endif @@ -750,7 +750,7 @@ B evalBC(Block* bl, Body* b, Scope* sc) { // doesn't consume #ifdef DEBUG_VM for(i32 i = 0; i < bcDepth; i++) printf(" "); printBC(sbc,20); printf("@%d out: ", BCPOS(b, sbc)); - for (i32 i = 0; i < lgStack-origStack; i++) { if(i)printf(" ⋄ "); print(origStack[i]); } putchar('\n'); fflush(stdout); + for (i32 i = 0; i < lgStack-origStack; i++) { if(i)printf("; "); print(origStack[i]); } putchar('\n'); fflush(stdout); #endif } end:;