aboutsummaryrefslogtreecommitdiff
path: root/src/fmt.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-31 16:00:34 +0200
committerlemon <lsof@mailbox.org>2022-08-31 16:00:34 +0200
commitb4310d08333fcb9ae4f3e4bf1e0e5fc6599ada4e (patch)
tree6b38da06b027db62bd4ab21f6241282b904435d3 /src/fmt.cff
parent047a978be814f0ff46482689ef60582061a5c08b (diff)
def x = expr -> defmacro x = expr, def const -> def
Diffstat (limited to 'src/fmt.cff')
-rw-r--r--src/fmt.cff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt.cff b/src/fmt.cff
index befde61..60ee5f9 100644
--- a/src/fmt.cff
+++ b/src/fmt.cff
@@ -392,7 +392,7 @@ extern fn warn(P *Parser, loc Loc, fmt *const u8, ...) void {
extern fn err(P *Parser, loc Loc, fmt *const u8, ...) void {
P.error = #t;
static nerr int = 0;
- if nerr++ == 20 {
+ if nerr++ == 7 {
efmt("Aborting due to too many errors.\n");
exit(1);
}