aboutsummaryrefslogtreecommitdiffstats
path: root/cparser
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-08-08 12:50:44 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-08-08 12:50:44 +0200
commit6c70ceb179798478f29efda5358c4660c38b7392 (patch)
treee6411d314ab7d7d7fac03637eb3ffae92d240c00 /cparser
parent8228d4f959c2211d1840928d1cfc349ce2820200 (diff)
downloadcompcert-6c70ceb179798478f29efda5358c4660c38b7392.tar.gz
compcert-6c70ceb179798478f29efda5358c4660c38b7392.zip
Fixed typo. Bug 19504
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