Skip to content

Commit

Permalink
The repeat tactic now honors failure levels in ltac.
Browse files Browse the repository at this point in the history
  • Loading branch information
aspiwack committed Nov 2, 2013
1 parent 0057613 commit 507364f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tactics/tacticals.ml
Expand Up @@ -482,14 +482,14 @@ module New = struct
tclINDEPENDENT begin
tclIFCATCH t
(fun () -> tclREPEAT0 t)
(fun _ -> tclUNIT ())
(fun e -> catch_failerror e <*> tclUNIT ())
end
let tclREPEAT t =
tclREPEAT0 (tclPROGRESS t)
let rec tclREPEAT_MAIN0 t =
tclIFCATCH t
(fun () -> tclFOCUS 1 1 (tclREPEAT_MAIN0 t))
(fun _ -> tclUNIT ())
(fun e -> catch_failerror e <*> tclUNIT ())
let tclREPEAT_MAIN t =
tclREPEAT_MAIN0 (tclPROGRESS t)

Expand Down

0 comments on commit 507364f

Please sign in to comment.