Rearrange what is printed in vm_print_all

First the program, then the registers then the stack.
This commit is contained in:
2023-10-23 00:48:53 +01:00
parent d0ee1f3b1f
commit 00f3b3bf21
2 changed files with 4 additions and 5 deletions

View File

@@ -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;
}