if script#onGoingProof () then
MatitaLog.debug (CicMetaSubst.ppmetasenv script#proofMetasenv []));
addDebugItem "dump coercions Db" (fun _ ->
- List.iter (
- fun (s,t,u) ->
- MatitaLog.debug (
- UriManager.name_of_uri u ^ ":" ^
- UriManager.name_of_uri s ^ " -> " ^ UriManager.name_of_uri t))
- (CoercDb.to_list ())
- );
+ List.iter
+ (fun (s,t,u) ->
+ MatitaLog.debug
+ (UriManager.name_of_uri u ^ ":"
+ ^ UriManager.name_of_uri s ^ " -> " ^ UriManager.name_of_uri t))
+ (CoercDb.to_list ()));
addDebugItem "rotate light bulbs"
(fun _ ->
let nb = gui#main#hintNotebook in
- nb#goto_page ((nb#current_page + 1) mod 3));
- (*
- addDebugItem "print (on stdout) \"statement\" grammar entry"
- (fun _ ->
- Grammar.print_entry Format.std_formatter
- (Grammar.Entry.obj CicTextualParser2.statement);
- Format.pp_print_flush Format.std_formatter ());*)
+ nb#goto_page ((nb#current_page + 1) mod 3))
end
(** </DEBUGGING> *)
| GrafiteAst.Render _ -> assert false (* ZACK: to be removed *)
| GrafiteAst.Dump _ -> assert false (* ZACK: to be removed *)
| GrafiteAst.Interpretation _
- | GrafiteAst.Notation _ -> status
+ | GrafiteAst.Notation _ as stm ->
+ { status with moo_content_rev =
+ (GrafiteAstPp.pp_command stm ^ "\n") :: status.moo_content_rev }
| GrafiteAst.Obj (loc,obj) ->
let ext,name =
match obj with