aboutsummaryrefslogtreecommitdiffhomepage
path: root/stm/stm.ml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-06-07 21:31:40 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-06-07 21:31:40 +0200
commit168c8db946494694c5c32b9f2345c9a2830f03da (patch)
treee737b418b68a2d416de094b2e78eb94a93929d9a /stm/stm.ml
parent73fd3afba9e8917dfc0644d1d8d9b22063cfa2fe (diff)
[stm] More fixes for nested commands [bugzilla 5589]
Diffstat (limited to 'stm/stm.ml')
-rw-r--r--stm/stm.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/stm.ml b/stm/stm.ml
index a79bf5426..11aca1627 100644
--- a/stm/stm.ml
+++ b/stm/stm.ml
@@ -2046,7 +2046,8 @@ let collect_proof keep cur hd brkind id =
| `ASync(_,pua,_,name,_) -> `Sync (name,pua,why) in
let check_policy rc = if async_policy () then rc else make_sync `Policy rc in
match cur, (VCS.visit id).step, brkind with
- | (parent, { expr = VernacExactProof _ }), `Fork _, _ ->
+ | (parent, { expr = VernacExactProof _ }), `Fork _, _
+ | (parent, { expr = VernacTime (_, VernacExactProof _) }), `Fork _, _ ->
`Sync (no_name,None,`Immediate)
| _, _, { VCS.kind = `Edit _ } -> check_policy (collect (Some cur) [] id)
| _ ->