aboutsummaryrefslogtreecommitdiff
path: root/parsing
diff options
context:
space:
mode:
authorHugo Herbelin2014-08-21 13:08:08 +0200
committerHugo Herbelin2014-09-12 10:47:32 +0200
commit8326639ef45b22cb066f65d17f27a77a678eb694 (patch)
tree911e1ea019b7dc3412071743573590053e181f2d /parsing
parentd542746c848d4795d4af97874a30fa5e98c8a6b2 (diff)
Add syntax [id]: to apply tactic to goal named id.
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_vernac.ml41
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 9fb7c89261..955179ba0d 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -127,6 +127,7 @@ GEXTEND Gram
selector:
[ [ n=natural; ":" -> SelectNth n
+ | "["; id = ident; "]"; ":" -> SelectId id
| IDENT "all" ; ":" -> SelectAll
| IDENT "par" ; ":" -> SelectAllParallel ] ]
;