Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
23cfc266
Commit
23cfc266
authored
Apr 21, 2017
by
Sylvain Dailler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed replay.
parent
28cd7354
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/session/controller_itp.ml
src/session/controller_itp.ml
+3
-2
src/session/itp_server.ml
src/session/itp_server.ml
+1
-1
No files found.
src/session/controller_itp.ml
View file @
23cfc266
...
...
@@ -839,7 +839,8 @@ let replay ~remove_obsolete ~use_steps c ~callback =
(
fun
_
_
->
count
:=
!
count
+
1
)
session
;
(* Replaying function *)
let
replay_pa
id
pa
=
let
replay_pa
pa
=
let
id
=
pa
.
parent
in
let
pr
=
pa
.
prover
in
(* If use_steps, we give only steps as a limit *)
let
limit
=
...
...
@@ -858,6 +859,6 @@ let replay ~remove_obsolete ~use_steps c ~callback =
(* Calling replay on all the proof_attempts of the session *)
Session_itp
.
session_iter_proof_attempt
(
fun
id
pa
->
replay_pa
id
pa
)
session
(
fun
_
pa
->
replay_pa
pa
)
session
end
src/session/itp_server.ml
View file @
23cfc266
...
...
@@ -1047,7 +1047,7 @@ module Make (S:Controller_itp.Scheduler) (P:Protocol) = struct
|
Save_file_req
(
name
,
text
)
->
save_file
name
text
;
|
Get_task
nid
->
send_task
nid
|
Replay_req
->
replay_session
()
;
re
send_the_tree
()
|
Replay_req
->
replay_session
()
;
re
load_session
()
|
Interrupt_req
->
C
.
interrupt
()
|
Command_req
(
nid
,
cmd
)
->
begin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment