aboutsummaryrefslogtreecommitdiff
path: root/parsing/g_ltac.ml4
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/g_ltac.ml4')
-rw-r--r--parsing/g_ltac.ml46
1 files changed, 5 insertions, 1 deletions
diff --git a/parsing/g_ltac.ml4 b/parsing/g_ltac.ml4
index cd6947b5b5..b027f8f4de 100644
--- a/parsing/g_ltac.ml4
+++ b/parsing/g_ltac.ml4
@@ -149,7 +149,11 @@ GEXTEND Gram
tactic_arg:
[ [ "()" -> <:ast< (VOID) >>
| n = pure_numarg -> n
- | id = identarg -> id
+ | l = Constr.qualid ->
+ (match l with
+ | [id] -> id
+ | _ -> <:ast< (QUALIDARG ($LIST l)) >>)
+ | id = METAIDENT -> <:ast< ($VAR $id) >>
| "?" -> <:ast< (COMMAND (ISEVAR)) >>
| "?"; n = Prim.number -> <:ast< (COMMAND (META $n)) >>
| IDENT "Eval"; rtc = Tactic.red_tactic; "in"; c = Constr.constr ->