diff options
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c index b13a459..f3540f0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -177,8 +177,36 @@ static void _type_str(FILE *f, struct type *type) return; switch (type->k) { - case TYPE_ERR: - fprintf(f, "err"); + case TYPE_I8: + fprintf(f, "i8"); + break; + + case TYPE_U8: + fprintf(f, "u8"); + break; + + case TYPE_I16: + fprintf(f, "i16"); + break; + + case TYPE_U16: + fprintf(f, "u16"); + break; + + case TYPE_I32: + fprintf(f, "i32"); + break; + + case TYPE_U32: + fprintf(f, "u32"); + break; + + case TYPE_I64: + fprintf(f, "i64"); + break; + + case TYPE_U64: + fprintf(f, "u64"); break; case TYPE_VOID: |