src/Pure/Tools/build.scala
changeset 71624 f0499449e149
parent 71623 b3bddebe44ca
child 71625 189f17479275
equal deleted inserted replaced
71623:b3bddebe44ca 71624:f0499449e149
   294           process.result(
   294           process.result(
   295             progress_stdout = (line: String) =>
   295             progress_stdout = (line: String) =>
   296               line match {
   296               line match {
   297                 case Loading_Theory_Marker(theory) =>
   297                 case Loading_Theory_Marker(theory) =>
   298                   progress.theory(Progress.Theory(theory, session = name))
   298                   progress.theory(Progress.Theory(theory, session = name))
   299                 case Markup.Export.Marker((args, path)) =>
   299                 case Protocol.Export.Marker((args, path)) =>
   300                   val body =
   300                   val body =
   301                     try { Bytes.read(path) }
   301                     try { Bytes.read(path) }
   302                     catch {
   302                     catch {
   303                       case ERROR(msg) =>
   303                       case ERROR(msg) =>
   304                         error("Failed to read export " + quote(args.compound_name) + "\n" + msg)
   304                         error("Failed to read export " + quote(args.compound_name) + "\n" + msg)