aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Parse.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2016-09-20 16:17:27 +0200
committerGitHub <noreply@github.com>2016-09-20 16:17:27 +0200
commitd857db508c318887463dde2039c9bfe99cdeebfa (patch)
tree8cf1d98876f4c72e624892103917be5286c95c17 /cparser/Parse.ml
parent99554c986d023d00192eb3d1fbfe1c0cc138596e (diff)
parent20f226ce463221032238895264c73d2207bf31d8 (diff)
downloadcompcert-d857db508c318887463dde2039c9bfe99cdeebfa.tar.gz
compcert-d857db508c318887463dde2039c9bfe99cdeebfa.zip
Merge pull request #139 from AbsInt/advanced-diagnostics
Advanced diagnostics
Diffstat (limited to 'cparser/Parse.ml')
-rw-r--r--cparser/Parse.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Parse.ml b/cparser/Parse.ml
index 3f60ebb4..507aea36 100644
--- a/cparser/Parse.ml
+++ b/cparser/Parse.ml
@@ -70,7 +70,7 @@ let preprocessed_file transfs name sourcefile =
| Parser.Parser.Inter.Fail_pr ->
(* Theoretically impossible : implies inconsistencies
between grammars. *)
- Cerrors.fatal_error "Internal error while parsing"
+ Cerrors.fatal_error Cutil.no_loc "Internal error while parsing"
| Parser.Parser.Inter.Timeout_pr -> assert false
| Parser.Parser.Inter.Parsed_pr (ast, _ ) -> ast) in
let p1 = Timing.time "Elaboration" Elab.elab_file ast in