aboutsummaryrefslogtreecommitdiffhomepage
path: root/grammar
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-04-27 22:13:02 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-04-27 22:13:02 +0200
commit1289b016fea5a54eb247cba1cac1fd9a19ee6d32 (patch)
tree40ab19e18f8c911b199a574e505eceeaa4e9f95d /grammar
parentca914055da6398afa127fa7ed05fb56441ed26a6 (diff)
Revert "Revert "Honor parsing and printing levels for tactic entry in TACTIC EXTEND and""
Diffstat (limited to 'grammar')
-rw-r--r--grammar/q_util.ml43
1 files changed, 2 insertions, 1 deletions
diff --git a/grammar/q_util.ml4 b/grammar/q_util.ml4
index c529260e9..8a876de9b 100644
--- a/grammar/q_util.ml4
+++ b/grammar/q_util.ml4
@@ -79,7 +79,8 @@ let rec type_of_user_symbol = function
ListArgType (type_of_user_symbol s)
| Uopt s ->
OptArgType (type_of_user_symbol s)
-| Uentry e | Uentryl (e, _) -> ExtraArgType e
+| Uentry e -> ExtraArgType e
+| Uentryl (e, n) -> ExtraArgType (e ^ string_of_int n)
let coincide s pat off =
let len = String.length pat in