From 8228d4f959c2211d1840928d1cfc349ce2820200 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Mon, 8 Aug 2016 10:37:53 +0200 Subject: 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 --- cparser/Cerrors.mli | 1 + 1 file changed, 1 insertion(+) (limited to 'cparser/Cerrors.mli') 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 -- cgit