proper escaping in file name
authorblanchet
Sat, 15 Dec 2012 18:48:58 +0100
changeset 50556 6209bc89faa3
parent 50555 81a1491ba936
child 50557 31313171deb5
proper escaping in file name
src/HOL/TPTP/mash_eval.ML
--- a/src/HOL/TPTP/mash_eval.ML	Sat Dec 15 18:26:37 2012 +0100
+++ b/src/HOL/TPTP/mash_eval.ML	Sat Dec 15 18:48:58 2012 +0100
@@ -90,7 +90,8 @@
         fun set_file_name heading (SOME dir) =
             let
               val prob_prefix =
-                "goal_" ^ string_of_int j ^ "__" ^ name ^ "__" ^ heading
+                "goal_" ^ string_of_int j ^ "__" ^ escape_meta name ^ "__" ^
+                heading
             in
               Config.put Sledgehammer_Provers.dest_dir dir
               #> Config.put Sledgehammer_Provers.problem_prefix