about summary refs log tree commit diff
path: root/boot/catboot.c
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2026-05-03 23:51:27 +0200
committerMel <mel@rnrd.eu>2026-05-03 23:51:27 +0200
commita348f07b65a60226da53215d3767caf7688cb8b8 (patch)
tree4d20df2d264989535318bad10d5cacec7dddd3d9 /boot/catboot.c
parent13f5c18441b34427722e4869cd8362b6c38075de (diff)
downloadcatskill-a348f07b65a60226da53215d3767caf7688cb8b8.tar.zst
catskill-a348f07b65a60226da53215d3767caf7688cb8b8.zip
IR lowering pass 1, function declarations
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/catboot.c')
-rw-r--r--boot/catboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/catboot.c b/boot/catboot.c
index fe879a1..8fdad41 100644
--- a/boot/catboot.c
+++ b/boot/catboot.c
@@ -133,7 +133,7 @@ debug_lower_pass(struct Source_File source_file)
     lower_tree(&tree, source_file, &unit);
     printer(&unit);
 
-    return 0;
+    return unit.had_error ? 1 : 0;
 }
 
 integer