proper File.platform_path for SML/NJ on Windows;
authorwenzelm
Sun, 08 Oct 2017 12:42:20 +0200
changeset 66783 bbe87f1b5e5d
parent 66780 bf54ca580bf2
child 66784 df1f43d477f5
proper File.platform_path for SML/NJ on Windows;
src/HOL/Library/code_test.ML
--- a/src/HOL/Library/code_test.ML	Sat Oct 07 20:31:01 2017 +0200
+++ b/src/HOL/Library/code_test.ML	Sun Oct 08 12:42:20 2017 +0200
@@ -425,8 +425,8 @@
       "end;"
     val ml_source =
       "Control.MC.matchRedundantError := false; Control.MC.matchRedundantWarn := false;" ^
-      "use " ^ ML_Syntax.print_string (Path.implode (Path.expand code_path)) ^
-      "; use " ^ ML_Syntax.print_string (Path.implode (Path.expand driver_path)) ^
+      "use " ^ ML_Syntax.print_string (Bash.string (File.platform_path code_path)) ^
+      "; use " ^ ML_Syntax.print_string (Bash.string (File.platform_path driver_path)) ^
       "; Test.main ();"
     val cmd = "echo " ^ Bash.string ml_source ^ " | \"$ISABELLE_SMLNJ\""
   in