Skip to content

Commit

Permalink
add code to print logs in get_proof_data
Browse files Browse the repository at this point in the history
  • Loading branch information
Alidra committed Mar 29, 2024
1 parent 95a3a29 commit 1f5dbcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handle/command.ml
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ let get_proof_data : compiler -> sig_state -> p_command -> cmd_output =
(* Add the symbol in the signature. *)
fst (Sig_state.add_symbol
ss expo prop mstrat opaq p_sym_nam declpos a impl d) in
pdata_finalize_fct, fun() -> ()
pdata_finalize_fct, fun() -> Console.out 2 (Color.red "symbol %a : %a") uid id term a
| P_proof_end ->
let pdata_finalize_fct ss ps =
(* Check that the proof is indeed finished. *)
Expand All @@ -535,7 +535,7 @@ let get_proof_data : compiler -> sig_state -> p_command -> cmd_output =
(* Add the symbol in the signature. *)
fst (Sig_state.add_symbol
ss expo prop mstrat opaq p_sym_nam declpos a impl d) in
pdata_finalize_fct, fun() -> ()
pdata_finalize_fct, fun() -> Console.out 2 (Color.red "symbol %a : %a") uid id term a
in

(* Create the proof state. *)
Expand Down

0 comments on commit 1f5dbcf

Please sign in to comment.