equal
deleted
inserted
replaced
181 Markup.LOADING_THEORY -> loading_theory) |
181 Markup.LOADING_THEORY -> loading_theory) |
182 } |
182 } |
183 |
183 |
184 |
184 |
185 /* job: running prover process */ |
185 /* job: running prover process */ |
186 |
|
187 private val Loading_Theory_Marker = Protocol_Message.Marker("loading_theory") |
|
188 |
186 |
189 private class Job(progress: Progress, |
187 private class Job(progress: Progress, |
190 name: String, |
188 name: String, |
191 val info: Sessions.Info, |
189 val info: Sessions.Info, |
192 deps: Sessions.Deps, |
190 deps: Sessions.Deps, |
292 } |
290 } |
293 |
291 |
294 process.result( |
292 process.result( |
295 progress_stdout = |
293 progress_stdout = |
296 { |
294 { |
297 case Loading_Theory_Marker(theory) => |
295 case Protocol.Loading_Theory_Marker(theory) => |
298 progress.theory(Progress.Theory(theory, session = name)) |
296 progress.theory(Progress.Theory(theory, session = name)) |
299 case Protocol.Export.Marker((args, path)) => |
297 case Protocol.Export.Marker((args, path)) => |
300 val body = |
298 val body = |
301 try { Bytes.read(path) } |
299 try { Bytes.read(path) } |
302 catch { |
300 catch { |