Skip to content

Commit

Permalink
[coq] Adapt to coq/coq#6511
Browse files Browse the repository at this point in the history
coq/coq#6511 contains EConstr-related changes.
  • Loading branch information
ejgallego committed Mar 1, 2018
1 parent 45be49a commit c439654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tac2entries.ml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ let register_ltac ?(local = false) ?(mut = false) isrec tactics =
in
let () =
if exists then
user_err ?loc (str "Tactic " ++ Nameops.pr_id id ++ str " already exists")
user_err ?loc (str "Tactic " ++ Names.Id.print id ++ str " already exists")
in
(id, e, t)
in
Expand Down Expand Up @@ -539,7 +539,7 @@ let parse_scope = function
if Id.Map.mem id !scope_table then
Id.Map.find id !scope_table toks
else
CErrors.user_err ?loc (str "Unknown scope" ++ spc () ++ Nameops.pr_id id)
CErrors.user_err ?loc (str "Unknown scope" ++ spc () ++ Names.Id.print id)
| SexprStr (_, str) ->
let v_unit = Loc.tag @@ CTacCst (AbsKn (Tuple 0)) in
ScopeRule (Extend.Atoken (Tok.IDENT str), (fun _ -> v_unit))
Expand Down

0 comments on commit c439654

Please sign in to comment.