summaryrefslogtreecommitdiff
path: root/dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'dis.c')
-rw-r--r--dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dis.c b/dis.c
index 0b22ac3..0b1d322 100644
--- a/dis.c
+++ b/dis.c
@@ -24,7 +24,7 @@ size_t disasm_instr(Chunk *ch, size_t ip) {
static size_t disasm_instr_h(Chunk *ch, size_t ip, int depth) {
size_t orig_ip = ip;
uint8_t instr = ch->bc.d[ip];
- printf("%*s%04zd\t",depth,"",ip);
+ printf("%*s%04zd\t%3d ",depth,"",ip,instr);
ip ++;
switch (instr) {
case OP_LOADK: {