From a4306c357407c8d5e10eb35bb270f4bde5287c78 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Mon, 2 Jul 2018 19:00:39 +0200 Subject: Remove the hardcoded compatibility wit_hyp -> wit_var from the parser. --- grammar/coqpp_parse.mly | 1 - plugins/ltac/coretactics.mlg | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/grammar/coqpp_parse.mly b/grammar/coqpp_parse.mly index d7fcc122c4..baafd633c4 100644 --- a/grammar/coqpp_parse.mly +++ b/grammar/coqpp_parse.mly @@ -42,7 +42,6 @@ let parse_user_entry s sep = let rec parse s sep = function | [] -> let () = without_sep ignore sep () in - let s = match s with "hyp" -> "var" | _ -> s in begin match starts s "tactic" with | Some ("0"|"1"|"2"|"3"|"4"|"5") -> Uentryl ("tactic", int_of_string s) | Some _ | None -> Uentry s diff --git a/plugins/ltac/coretactics.mlg b/plugins/ltac/coretactics.mlg index a7331223e4..6388906f5e 100644 --- a/plugins/ltac/coretactics.mlg +++ b/plugins/ltac/coretactics.mlg @@ -20,6 +20,8 @@ open Tacarg open Names open Logic +let wit_hyp = wit_var + } DECLARE PLUGIN "ltac_plugin" -- cgit v1.2.3