src/Pure/Isar/toplevel.ML
changeset 59472 513300fa2d09
parent 59184 830bb7ddb3ab
child 59923 b21c82422d65
     1.1 --- a/src/Pure/Isar/toplevel.ML	Thu Jan 29 16:35:29 2015 +0100
     1.2 +++ b/src/Pure/Isar/toplevel.ML	Thu Jan 29 17:07:49 2015 +0100
     1.3 @@ -44,7 +44,6 @@
     1.4    val ignored: Position.T -> transition
     1.5    val is_ignored: transition -> bool
     1.6    val malformed: Position.T -> string -> transition
     1.7 -  val is_malformed: transition -> bool
     1.8    val generic_theory: (generic_theory -> generic_theory) -> transition -> transition
     1.9    val theory': (bool -> theory -> theory) -> transition -> transition
    1.10    val theory: (theory -> theory) -> transition -> transition
    1.11 @@ -353,10 +352,8 @@
    1.12  fun ignored pos = empty |> name "<ignored>" |> position pos |> imperative I;
    1.13  fun is_ignored tr = name_of tr = "<ignored>";
    1.14  
    1.15 -val malformed_name = "<malformed>";
    1.16  fun malformed pos msg =
    1.17 -  empty |> name malformed_name |> position pos |> imperative (fn () => error msg);
    1.18 -fun is_malformed tr = name_of tr = malformed_name;
    1.19 +  empty |> name "<malformed>" |> position pos |> imperative (fn () => error msg);
    1.20  
    1.21  val unknown_theory = imperative (fn () => warning "Unknown theory context");
    1.22  val unknown_proof = imperative (fn () => warning "Unknown proof context");