src/Pure/Isar/toplevel.ML
changeset 6244 daecd68ecc8c
parent 6194 358f62acf573
child 6664 f679ddd1ddd8
equal deleted inserted replaced
6243:fb293dfa2df3 6244:daecd68ecc8c
   341       | None => raise FAIL (TERMINATE, at_command tr));
   341       | None => raise FAIL (TERMINATE, at_command tr));
   342 
   342 
   343 fun excursion trs =
   343 fun excursion trs =
   344   (case excur trs (State []) of
   344   (case excur trs (State []) of
   345     State [] => ()
   345     State [] => ()
   346   | _ => raise ERROR_MESSAGE "Pending blocks at end of excursion");
   346   | _ => raise ERROR_MESSAGE "Open block(s) pending at end of input");
   347 
   347 
   348 
   348 
   349 
   349 
   350 (** interactive transformations **)
   350 (** interactive transformations **)
   351 
   351