--- a/src/Pure/Isar/isar_syn.ML Sat Jul 03 00:21:35 1999 +0200
+++ b/src/Pure/Isar/isar_syn.ML Sat Jul 03 00:22:53 1999 +0200
@@ -44,7 +44,7 @@
(** formal comments **)
val txtP = OuterSyntax.command "txt" "formal comment (proof)" K.prf_decl
- (P.comment >> (Toplevel.proof o IsarThy.add_txt));
+ (P.comment >> (Toplevel.print oo (Toplevel.proof o IsarThy.add_txt)));
val textP = OuterSyntax.command "text" "formal comment (theory)" K.thy_decl
(P.comment >> (Toplevel.theory o IsarThy.add_text));
--- a/src/Pure/Isar/isar_thy.ML Sat Jul 03 00:21:35 1999 +0200
+++ b/src/Pure/Isar/isar_thy.ML Sat Jul 03 00:22:53 1999 +0200
@@ -156,7 +156,7 @@
(* formal comments *)
-fun add_txt comment prf = prf;
+fun add_txt comment = ProofHistory.apply Proof.assert_forward;
fun add_text comment thy = thy;
fun add_title title author date thy = thy;
val add_chapter = add_text;