aboutsummaryrefslogtreecommitdiffstats
path: root/cparser
diff options
context:
space:
mode:
Diffstat (limited to 'cparser')
-rw-r--r--cparser/Cerrors.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Cerrors.ml b/cparser/Cerrors.ml
index 0667ea16..a4d1a3f8 100644
--- a/cparser/Cerrors.ml
+++ b/cparser/Cerrors.ml
@@ -68,5 +68,5 @@ let check_errors () =
!num_errors > 0 || (!warn_error && !num_warnings > 0)
let raise_on_errors () =
- if !num_warnings > 0 || (!warn_error && !num_warnings > 0) then
+ if !num_errors > 0 || (!warn_error && !num_warnings > 0) then
raise Abort