aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cerrors.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-08-08 10:37:53 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-08-08 10:37:53 +0200
commit8228d4f959c2211d1840928d1cfc349ce2820200 (patch)
tree01e9da05ca158ea53b447c67983058a25eb88d0d /cparser/Cerrors.mli
parentb184e05aada74f34dafd9d1bf6bc24e68ab76e05 (diff)
downloadcompcert-8228d4f959c2211d1840928d1cfc349ce2820200.tar.gz
compcert-8228d4f959c2211d1840928d1cfc349ce2820200.zip
Added error check before transformations.
Added a check for errors after the elab phases to avoid problems in the transformations due to broken input programs. Bug 19504
Diffstat (limited to 'cparser/Cerrors.mli')
-rw-r--r--cparser/Cerrors.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/cparser/Cerrors.mli b/cparser/Cerrors.mli
index 3e315fad..313573c3 100644
--- a/cparser/Cerrors.mli
+++ b/cparser/Cerrors.mli
@@ -22,3 +22,4 @@ val error : ('a, Format.formatter, unit, unit, unit, unit) format6 -> 'a
val warning : ('a, Format.formatter, unit, unit, unit, unit) format6 -> 'a
val info : ('a, Format.formatter, unit, unit, unit, unit) format6 -> 'a
val check_errors : unit -> bool
+val raise_on_errors : unit -> unit