aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-09-14 16:27:57 +0200
committerPierre-Marie Pédrot2016-09-14 16:27:57 +0200
commit89f7bc53fbd558e3b5ff2ce1d1693f570afcc536 (patch)
tree2eb4526f21688a881ac8245051ac023afe25393d
parent5e4dc9a1896a1dff832089be20cd43f4f4776869 (diff)
Fix CAMLP4 compilation.
-rw-r--r--parsing/compat.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/compat.ml4 b/parsing/compat.ml4
index 170dd7c558..389c34fa50 100644
--- a/parsing/compat.ml4
+++ b/parsing/compat.ml4
@@ -213,7 +213,7 @@ end
module GrammarMake (L:LexerSig) : GrammarSig = struct
(* We need to refer to Coq's module Loc before it is hidden by include *)
- let raise_coq_loc loc e = Loc.raise (to_coqloc loc) e
+ let raise_coq_loc loc e = Loc.raise ~loc:(to_coqloc loc) e
include Camlp4.Struct.Grammar.Static.Make (L)
type 'a entry = 'a Entry.t
type action = Action.t