Skip to content
Snippets Groups Projects
Commit 6edf3882 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

Merge branch 'feature/wp/script-name' into 'master'

[wp] Print script name in TIP

See merge request frama-c/frama-c!3167
parents 37677168 d8db59aa
No related branches found
No related tags found
No related merge requests found
...@@ -546,6 +546,15 @@ class pane (gprovers : GuiConfig.provers) = ...@@ -546,6 +546,15 @@ class pane (gprovers : GuiConfig.provers) =
on_proof_context proof on_proof_context proof
begin fun () -> begin fun () ->
text#clear ; text#clear ;
let main = ProofEngine.main proof in
if ProofSession.exists main then begin
text#printf
(if ProofEngine.saved proof
then "%a (@{<green>saved@})@."
else "%a (@{<orange>modified@})@.")
ProofSession.pp_script_for main ;
text#hrule ;
end ;
scripter#tree proof ; scripter#tree proof ;
text#hrule ; text#hrule ;
text#printf "%t@." (printer#goal (ProofEngine.head proof)) ; text#printf "%t@." (printer#goal (ProofEngine.head proof)) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment