src/Pure/proof_general.ML
changeset 12833 9f3226cfe021
parent 12780 6b41c750451c
child 13273 6fea54cf6fb5
equal deleted inserted replaced
12832:c31b44286a8a 12833:9f3226cfe021
    17   val help: unit -> unit
    17   val help: unit -> unit
    18   val show_context: unit -> theory
    18   val show_context: unit -> theory
    19   val kill_goal: unit -> unit
    19   val kill_goal: unit -> unit
    20   val repeat_undo: int -> unit
    20   val repeat_undo: int -> unit
    21   val isa_restart: unit -> unit
    21   val isa_restart: unit -> unit
       
    22   val full_proofs: bool -> unit
    22   val init: bool -> unit
    23   val init: bool -> unit
    23   val write_keywords: string -> unit
    24   val write_keywords: string -> unit
    24 end;
    25 end;
    25 
    26 
    26 structure ProofGeneral: PROOF_GENERAL =
    27 structure ProofGeneral: PROOF_GENERAL =
   250 
   251 
   251 fun isa_restart () = restart false;
   252 fun isa_restart () = restart false;
   252 fun isar_restart () = (sync_thy_loader (); restart true; raise Toplevel.RESTART);
   253 fun isar_restart () = (sync_thy_loader (); restart true; raise Toplevel.RESTART);
   253 
   254 
   254 end;
   255 end;
       
   256 
       
   257 
       
   258 fun full_proofs true = proofs := 2
       
   259   | full_proofs false = proofs := 1;
   255 
   260 
   256 
   261 
   257 (* outer syntax *)
   262 (* outer syntax *)
   258 
   263 
   259 local structure P = OuterParse and K = OuterSyntax.Keyword in
   264 local structure P = OuterParse and K = OuterSyntax.Keyword in