diff options
| author | aspiwack | 2013-11-02 15:35:43 +0000 |
|---|---|---|
| committer | aspiwack | 2013-11-02 15:35:43 +0000 |
| commit | 386d36deb6efb755cdd16ad216361e01e0b7662e (patch) | |
| tree | ad4a3063b901c508d759f9a9b9660a1e04dc1c3d /intf | |
| parent | e6404437c1f6ae451f4253cd3450f75513b395c3 (diff) | |
Adds a new goal selector "all:".
all:tac applies tac to all the focused subgoals.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16982 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'intf')
| -rw-r--r-- | intf/vernacexpr.mli | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/intf/vernacexpr.mli b/intf/vernacexpr.mli index 2e23d22732..2f76df0e5b 100644 --- a/intf/vernacexpr.mli +++ b/intf/vernacexpr.mli @@ -25,6 +25,15 @@ type lreference = reference type class_rawexpr = FunClass | SortClass | RefClass of reference or_by_notation +(* spiwack: I'm choosing, for now, to have [goal_selector] be a + different type than [goal_reference] mostly because if it makes sense + to print a goal that is out of focus (or already solved) it doesn't + make sense to apply a tactic to it. Hence it the types may look very + similar, they do not seem to mean the same thing. *) +type goal_selector = + | SelectNth of int + | SelectAll + type goal_identifier = string type scope_name = string @@ -325,7 +334,7 @@ type vernac_expr = (* Solving *) - | VernacSolve of int * raw_tactic_expr * bool + | VernacSolve of goal_selector * raw_tactic_expr * bool | VernacSolveExistential of int * constr_expr (* Auxiliary file and library management *) |
