# HG changeset patch # User wenzelm # Date 1140202999 -3600 # Node ID d9b6375a21a41fa9396fd1b1fbef7719f41dce73 # Parent 644a7a47ed0263460f9f24fcf7fbc693c0dbe855 checkpoint/copy_node: reset body context; diff -r 644a7a47ed02 -r d9b6375a21a4 src/Pure/Isar/toplevel.ML --- a/src/Pure/Isar/toplevel.ML Fri Feb 17 20:03:17 2006 +0100 +++ b/src/Pure/Isar/toplevel.ML Fri Feb 17 20:03:19 2006 +0100 @@ -264,12 +264,10 @@ val stale_theory = ERROR "Stale theory encountered after succesful execution!"; -fun checkpoint_node (Theory (thy, ctxt)) = Theory (Theory.checkpoint thy, ctxt) +fun checkpoint_node (Theory (thy, _)) = Theory (Theory.checkpoint thy, NONE) | checkpoint_node node = node; -fun copy_node (Theory (thy, ctxt)) = - let val thy' = Theory.copy thy - in Theory (thy', Option.map (ProofContext.transfer thy') ctxt) end +fun copy_node (Theory (thy, _)) = Theory (Theory.copy thy, NONE) | copy_node node = node; fun return (result, NONE) = result