From 09ed7e9557f908166ee9b1289a8f786a33b70f63 Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Tue, 11 Aug 2020 07:23:01 +0200 Subject: [PATCH] Add bool debug type --- tccgen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tccgen.c b/tccgen.c index d0448ce9..a4fa0cc0 100644 --- a/tccgen.c +++ b/tccgen.c @@ -165,7 +165,9 @@ static const struct { { -1, "_Decimal128:t24=r1;16;0;" }, /* if default char is unsigned */ { VT_BYTE | VT_UNSIGNED, "unsigned char:t25=r25;0;255;" }, - { VT_VOID, "void:t26=26" }, + /* boolean type */ + { VT_BOOL, "bool:t26=r26;0;255;" }, + { VT_VOID, "void:t27=27" }, }; static int debug_next_type;