aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-23 00:48:53 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-23 00:49:59 +0100
commit00f3b3bf2111cc27543958b5c9fdae23cba420c9 (patch)
tree2ff8387cea3cb87630b935b300bf74751f216836 /src/main.c
parentd0ee1f3b1fb60a6116a15c7c204345601adc2410 (diff)
downloadovm-00f3b3bf2111cc27543958b5c9fdae23cba420c9.tar.gz
ovm-00f3b3bf2111cc27543958b5c9fdae23cba420c9.tar.bz2
ovm-00f3b3bf2111cc27543958b5c9fdae23cba420c9.zip
Rearrange what is printed in vm_print_all
First the program, then the registers then the stack.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2ebb002..005b61e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,7 +35,6 @@ int interpret_bytecode(const char *filepath)
{
const char *error_str = err_as_cstr(err);
fprintf(stderr, "[ERROR]: %s\n", error_str);
- fprintf(stderr, "\t VM State:\n");
vm_print_all(&vm, stderr);
ret = 255 - err;
}