equal
deleted
inserted
replaced
204 consumer_bad_theories.value.reverse |
204 consumer_bad_theories.value.reverse |
205 } |
205 } |
206 } |
206 } |
207 |
207 |
208 |
208 |
209 // run |
209 // synchronous body |
210 |
210 |
211 try { |
211 try { |
212 val dump_checkpoints = deps.dump_checkpoints |
|
213 def commit(snapshot: Document.Snapshot, status: Document_Status.Node_Status) |
|
214 { |
|
215 if (dump_checkpoints.contains(snapshot.node_name)) { |
|
216 session.protocol_command("ML_Heap.share_common_data") |
|
217 } |
|
218 Consumer.apply(snapshot, status) |
|
219 } |
|
220 |
|
221 val use_theories_result = |
212 val use_theories_result = |
222 session.use_theories(used_theories.map(_.theory), |
213 session.use_theories(used_theories.map(_.theory), |
223 unicode_symbols = unicode_symbols, |
214 unicode_symbols = unicode_symbols, |
224 share_common_data = true, |
215 share_common_data = true, |
225 progress = progress, |
216 progress = progress, |
226 commit = Some(commit _)) |
217 checkpoints = deps.dump_checkpoints, |
|
218 commit = Some(Consumer.apply _)) |
227 |
219 |
228 val bad_theories = Consumer.shutdown() |
220 val bad_theories = Consumer.shutdown() |
229 val bad_msgs = |
221 val bad_msgs = |
230 bad_theories.map(bad => |
222 bad_theories.map(bad => |
231 Output.clean_yxml( |
223 Output.clean_yxml( |