Result.cache;
authorwenzelm
Thu, 17 Dec 2009 23:44:15 +0100
changeset 34109 f49d45afa634
parent 34108 54d48ca8708f
child 34115 db1b90188fd1
Result.cache;
bin/isabelle-process
src/Pure/IsaMakefile
src/Pure/System/isabelle_process.scala
--- a/bin/isabelle-process	Thu Dec 17 23:31:59 2009 +0100
+++ b/bin/isabelle-process	Thu Dec 17 23:44:15 2009 +0100
@@ -213,7 +213,7 @@
 
 NICE="nice"
 if [ -n "$WRAPPER_OUTPUT" ]; then
-  [ "$WRAPPER_OUTPUT" = "-" -o -p "$WRAPPER_OUTPUT" ] || fail "Bad named pipe: $WRAPPER_OUTPUT"
+#  [ "$WRAPPER_OUTPUT" = "-" -o -p "$WRAPPER_OUTPUT" ] || fail "Bad named pipe: $WRAPPER_OUTPUT"
   MLTEXT="$MLTEXT; Isabelle_Process.init \"$WRAPPER_OUTPUT\";"
 elif [ -n "$PGIP" ]; then
   MLTEXT="$MLTEXT; ProofGeneralPgip.init_pgip $ISAR;"
--- a/src/Pure/IsaMakefile	Thu Dec 17 23:31:59 2009 +0100
+++ b/src/Pure/IsaMakefile	Thu Dec 17 23:44:15 2009 +0100
@@ -128,6 +128,7 @@
   System/cygwin.scala System/gui_setup.scala				\
   System/isabelle_process.scala System/isabelle_syntax.scala		\
   System/isabelle_system.scala System/platform.scala			\
+  /home/makarius/isabelle/misc/test_process/test.scala			\
   Thy/completion.scala Thy/html.scala Thy/thy_header.scala
 
 JAR_DIR = $(ISABELLE_HOME)/lib/classes
--- a/src/Pure/System/isabelle_process.scala	Thu Dec 17 23:31:59 2009 +0100
+++ b/src/Pure/System/isabelle_process.scala	Thu Dec 17 23:44:15 2009 +0100
@@ -100,6 +100,9 @@
     def is_raw = Kind.is_raw(kind)
     def is_control = Kind.is_control(kind)
     def is_system = Kind.is_system(kind)
+
+    def cache(table: XML.Cache): Result =
+      new Result(kind, table.cache_props(props), table(body))
   }
 }