X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fmatita.ml;h=cd3fe798253830c9df78ed1d63523fed8096a58c;hb=be8d8e78f342e13043ef659d5f9f944d343325f4;hp=1b4cc5a3cd495042c550710f699a84b1685229ba;hpb=9a7c77e5c29d764109a104aa629761ba90cb511c;p=helm.git diff --git a/helm/software/matita/matita.ml b/helm/software/matita/matita.ml index 1b4cc5a3c..cd3fe7982 100644 --- a/helm/software/matita/matita.ml +++ b/helm/software/matita/matita.ml @@ -107,12 +107,12 @@ let _ = with Failure _ -> script#setGoal None); | Proof proof -> sequents_viewer#load_logo_with_qed | No_proof -> - (match grafite_status#ng_status with - ProofMode nstatus -> - sequents_viewer#nload_sequents nstatus; + (match grafite_status#ng_mode with + `ProofMode -> + sequents_viewer#nload_sequents grafite_status; (try script#setGoal - (Some (Continuationals.Stack.find_goal nstatus#stack)); + (Some (Continuationals.Stack.find_goal grafite_status#stack)); let goal = match script#goal with None -> assert false @@ -120,7 +120,7 @@ let _ = in sequents_viewer#goto_sequent goal with Failure _ -> script#setGoal None); - | CommandMode _ -> sequents_viewer#load_logo + | `CommandMode -> sequents_viewer#load_logo ) | Intermediate _ -> assert false (* only the engine may be in this state *) in @@ -141,7 +141,7 @@ let _ = ignore (GMenu.separator_item ~packing:gui#main#debugMenu_menu#append ()) in addDebugItem "dump aliases" (fun _ -> - let status = GrafiteTypes.get_estatus script#grafite_status in + let status = script#grafite_status in LexiconEngine.dump_aliases HLog.debug "" status); (* FG: DEBUGGING addDebugItem "dump interpretations" (fun _ ->