aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/outstmt.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2025-05-23 23:20:06 +0200
committerSamuel Lidén Borell <samuel@kodafritt.se>2025-05-23 23:20:06 +0200
commit96f56a9e8954d84653d7307d0e5a16697ac2042b (patch)
tree3ca12c42bd009109fa92134fc63bcf1b1f841d18 /bootstrap/outstmt.c
parentc03facaee4e80ba11b859c68b8da7a33181632a2 (diff)
downloadslul-try2-main.tar.gz
slul-try2-main.tar.bz2
slul-try2-main.zip
bootstrap: Parsing of int/bool typesHEADmain
Diffstat (limited to 'bootstrap/outstmt.c')
-rw-r--r--bootstrap/outstmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/outstmt.c b/bootstrap/outstmt.c
index bfc82bc..d5286b5 100644
--- a/bootstrap/outstmt.c
+++ b/bootstrap/outstmt.c
@@ -28,7 +28,7 @@ static void emit_compare(struct TypeRef *tr, const char *res_name, int res_id,
static void emit_bool(struct Stmt *stmt, struct Expr *expr)
{
- static const struct TypeRef booltr = { TR_BOOL, { NULL } };
+ static const struct TypeRef booltr = { TR_BOOL, 0, { NULL } };
emit_expr(&booltr, "b", stmt->id, expr);
}