aboutsummaryrefslogtreecommitdiff
path: root/plugins/quote
diff options
context:
space:
mode:
authorMaxime Dénès2018-02-24 09:26:03 +0100
committerMaxime Dénès2018-02-24 09:26:03 +0100
commit7895d276146496648d576914aab4aded4b4a32cd (patch)
tree24e8de17078242c1ea39e31ecfe55a1c024d0eff /plugins/quote
parent0c5f0afffd37582787f79267d9841259095b7edc (diff)
parent9bebbb96e58b3c1b0f7f88ba2af45462eae69b0f (diff)
Merge PR #6745: [ast] Improve precision of Ast location recognition in serialization.
Diffstat (limited to 'plugins/quote')
-rw-r--r--plugins/quote/g_quote.ml42
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/quote/g_quote.ml4 b/plugins/quote/g_quote.ml4
index 40897d62fb..55dc7f580a 100644
--- a/plugins/quote/g_quote.ml4
+++ b/plugins/quote/g_quote.ml4
@@ -22,7 +22,7 @@ let x = Id.of_string "x"
let make_cont (k : Val.t) (c : EConstr.t) =
let c = Tacinterp.Value.of_constr c in
- let tac = TacCall (Loc.tag (ArgVar (Loc.tag cont), [Reference (ArgVar (Loc.tag x))])) in
+ let tac = TacCall (Loc.tag (ArgVar CAst.(make cont), [Reference (ArgVar CAst.(make x))])) in
let ist = { lfun = Id.Map.add cont k (Id.Map.singleton x c); extra = TacStore.empty; } in
Tacinterp.eval_tactic_ist ist (TacArg (Loc.tag tac))