aboutsummaryrefslogtreecommitdiff
path: root/src/main.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-28 09:20:07 +0200
committerlemon <lsof@mailbox.org>2022-08-28 09:20:07 +0200
commita744bd5fcda35b086566ba961502d589eefd5fe9 (patch)
treefd012846bbe973394966b47687ff0aeb9256a652 /src/main.cff
parent57e8797417578239de57d8a62d32de403a89fb34 (diff)
fix some fold and add def const
Diffstat (limited to 'src/main.cff')
-rw-r--r--src/main.cff1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cff b/src/main.cff
index caebf9c..b8829a7 100644
--- a/src/main.cff
+++ b/src/main.cff
@@ -18,5 +18,6 @@ extern fn main(argc int, argv **u8) int {
llvm_init(stdout);
let decls = parse(&p);
defer free(decls.#ptr);
+ if p.error { return 1; }
}