src/Pure/Admin/build_log.scala
changeset 67007 978c584609de
parent 66995 9cb263dbb2f7
child 67067 02729ced9b1e
--- a/src/Pure/Admin/build_log.scala	Sat Nov 04 19:17:19 2017 +0100
+++ b/src/Pure/Admin/build_log.scala	Sat Nov 04 19:44:28 2017 +0100
@@ -518,7 +518,9 @@
     object Theory_Timing
     {
       def unapply(line: String): Option[(String, (String, Timing))] =
-        Library.try_unprefix(THEORY_TIMING_MARKER, line).map(log_file.parse_props(_)) match {
+      {
+        val line1 = line.replace('~', '-')
+        Library.try_unprefix(THEORY_TIMING_MARKER, line1).map(log_file.parse_props(_)) match {
           case Some((SESSION_NAME, name) :: props) =>
             (props, props) match {
               case (Markup.Name(thy), Markup.Timing_Properties(t)) => Some((name, thy -> t))
@@ -526,6 +528,7 @@
             }
           case _ => None
         }
+      }
     }
 
     var chapter = Map.empty[String, String]