src/Pure/General/symbol.scala
changeset 61959 364007370bb7
parent 61865 6dcc9e4f1aa6
child 62103 3b61d05eadad
--- a/src/Pure/General/symbol.scala	Tue Dec 29 15:05:08 2015 +0100
+++ b/src/Pure/General/symbol.scala	Tue Dec 29 16:23:34 2015 +0100
@@ -285,7 +285,12 @@
   /** symbol interpretation **/
 
   private lazy val symbols =
-    new Interpretation(File.try_read(Path.split(Isabelle_System.getenv("ISABELLE_SYMBOLS"))))
+  {
+    val contents =
+      for (path <- Path.split(Isabelle_System.getenv("ISABELLE_SYMBOLS")) if path.is_file)
+        yield (File.read(path))
+    new Interpretation(cat_lines(contents))
+  }
 
   private class Interpretation(symbols_spec: String)
   {