aboutsummaryrefslogtreecommitdiff
path: root/sloth.c
diff options
context:
space:
mode:
Diffstat (limited to 'sloth.c')
-rw-r--r--sloth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sloth.c b/sloth.c
index 7f76017..8314b79 100644
--- a/sloth.c
+++ b/sloth.c
@@ -40,8 +40,7 @@ SlothError sloth_push(Sloth *ctx, SlothByte v)
void sloth_inspect_stack(const Sloth *ctx)
{
- printf("size: %lu\n", ctx->stack_size);
- printf("capacity: %lu\n", ctx->stack_capacity);
+ printf("<%lu> ", ctx->stack_size);
for (size_t i = 0; i < ctx->stack_size; i++)
- printf("%08lx: %d\n", i, ctx->stack[i]);
+ printf("%d ", ctx->stack[i]);
}