src/Pure/Isar/toplevel.ML
changeset 44200 ce0112e26b3b
parent 44188 9e6698b9dcea
child 44270 3eaad39e520c
     1.1 --- a/src/Pure/Isar/toplevel.ML	Mon Aug 15 20:19:41 2011 +0200
     1.2 +++ b/src/Pure/Isar/toplevel.ML	Mon Aug 15 20:38:16 2011 +0200
     1.3 @@ -185,8 +185,8 @@
     1.4    | _ => raise UNDEF);
     1.5  
     1.6  fun end_theory _ (State (NONE, SOME (Theory (Context.Theory thy, _)))) = thy
     1.7 -  | end_theory pos (State (NONE, _)) = error ("Missing theory " ^ Position.str_of pos)
     1.8 -  | end_theory pos (State (SOME _, _)) = error ("Unfinished theory " ^ Position.str_of pos);
     1.9 +  | end_theory pos (State (NONE, _)) = error ("Missing theory" ^ Position.str_of pos)
    1.10 +  | end_theory pos (State (SOME _, _)) = error ("Unfinished theory" ^ Position.str_of pos);
    1.11  
    1.12  
    1.13  (* print state *)