aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ast.c b/src/ast.c
index 0d19d40..78fb2b9 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -29,6 +29,12 @@ const char* type_kind_stringify(TypeKind k) {
return "long long";
else if (k == TypeKind_ullong)
return "unsigned long long";
+ else if (k == TypeKind_float)
+ return "float";
+ else if (k == TypeKind_double)
+ return "double";
+ else if (k == TypeKind_ldouble)
+ return "long double";
else if (k == TypeKind_struct)
return "struct";
else if (k == TypeKind_union)