aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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