aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsing/g_tactic.ml45
1 files changed, 4 insertions, 1 deletions
diff --git a/parsing/g_tactic.ml4 b/parsing/g_tactic.ml4
index f24c9af636..5a41086e68 100644
--- a/parsing/g_tactic.ml4
+++ b/parsing/g_tactic.ml4
@@ -455,8 +455,11 @@ GEXTEND Gram
eqn_ipat:
[ [ IDENT "eqn"; ":"; id = naming_intropattern -> Some id
| IDENT "_eqn"; ":"; id = naming_intropattern ->
- let msg = "Obsolete syntax \"_eqn\" could be replaced by \"eqn\"" in
+ let msg = "Obsolete syntax \"_eqn:H\" could be replaced by \"eqn:H\"" in
msg_warning (strbrk msg); Some id
+ | IDENT "_eqn" ->
+ let msg = "Obsolete syntax \"_eqn\" could be replaced by \"eqn:?\"" in
+ msg_warning (strbrk msg); Some (loc, IntroAnonymous)
| -> None ] ]
;
as_name: