added missing \n in output
authorblanchet
Sat, 17 Apr 2010 10:42:09 +0200
changeset 36190 500fc43d5537
parent 36189 ba06ef722163
child 36191 d4b494b7f1a1
added missing \n in output
src/HOL/Tools/ATP_Manager/atp_wrapper.ML
--- a/src/HOL/Tools/ATP_Manager/atp_wrapper.ML	Fri Apr 16 21:18:05 2010 +0200
+++ b/src/HOL/Tools/ATP_Manager/atp_wrapper.ML	Sat Apr 17 10:42:09 2010 +0200
@@ -140,7 +140,7 @@
         ()
       else
         File.write (Path.explode (Path.implode probfile ^ "_proof"))
-                   ("#" ^ timestamp () ^ "\n" ^ proof)
+                   ("% " ^ timestamp () ^ "\n" ^ proof)
 
     val (((proof, atp_run_time_in_msecs), rc), conj_pos) =
       with_path cleanup export run_on (prob_pathname subgoal);
@@ -149,8 +149,8 @@
     val failure = find_failure failure_strs proof;
     val success = rc = 0 andalso is_none failure;
     val (message, relevant_thm_names) =
-      if is_some failure then ("ATP failed to find a proof.", [])
-      else if rc <> 0 then ("ATP error: " ^ proof ^ ".", [])
+      if is_some failure then ("ATP failed to find a proof.\n", [])
+      else if rc <> 0 then ("ATP error: " ^ proof ^ ".\n", [])
       else
         (produce_answer name (proof, internal_thm_names, conj_pos, ctxt, th,
                               subgoal));