--- a/src/Pure/System/session.ML Fri Mar 16 21:20:23 2012 +0100
+++ b/src/Pure/System/session.ML Fri Mar 16 21:40:21 2012 +0100
@@ -75,6 +75,7 @@
fun finish () =
(Thy_Info.finish ();
Present.finish ();
+ Outer_Syntax.check_syntax ();
Future.shutdown ();
session_finished := true);