diff options
author | 2014-07-30 12:12:21 +0200 | |
---|---|---|
committer | 2014-08-01 19:18:58 +0200 | |
commit | 78692ad28ded4f94d5cf7e54240fe0b71d1be282 (patch) | |
tree | 05ccc456677d61f2d6b34dff334641059d179193 /tactics/tacintern.ml | |
parent | 47c688165c6ad00b725bc4f93574bba55c2544f5 (diff) |
Add [numgoal] to Ltac.
Diffstat (limited to 'tactics/tacintern.ml')
-rw-r--r-- | tactics/tacintern.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tactics/tacintern.ml b/tactics/tacintern.ml index a651d298f..324ea2f04 100644 --- a/tactics/tacintern.ml +++ b/tactics/tacintern.ml @@ -631,7 +631,7 @@ and intern_tactic_as_arg loc onlytac ist a = | TacCall _ | TacExternal _ | Reference _ | TacDynamic _ | TacGeneric _ as a -> TacArg (loc,a) | Tacexp a -> a - | ConstrMayEval _ | UConstr _ | TacFreshId _ | TacPretype _ as a -> + | ConstrMayEval _ | UConstr _ | TacFreshId _ | TacPretype _ | TacNumgoals as a -> if onlytac then error_tactic_expected loc else TacArg (loc,a) | MetaIdArg _ -> assert false @@ -663,6 +663,7 @@ and intern_tacarg strict onlytac ist = function TacExternal (loc,com,req,List.map (intern_tacarg !strict_check false ist) la) | TacFreshId x -> TacFreshId (List.map (intern_or_var ist) x) | TacPretype c -> TacPretype (intern_constr ist c) + | TacNumgoals -> TacNumgoals | Tacexp t -> Tacexp (intern_tactic onlytac ist t) | TacGeneric arg -> let (_, arg) = Genintern.generic_intern ist arg in |