aboutsummaryrefslogtreecommitdiff
path: root/src/fmt.cff
diff options
context:
space:
mode:
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);
}