src/HOL/Tools/function_package/fundef_package.ML
changeset 24508 c8b82fec6447
parent 24168 86a03a092062
child 24624 b8383b1bbae3
--- a/src/HOL/Tools/function_package/fundef_package.ML	Sat Sep 01 01:22:11 2007 +0200
+++ b/src/HOL/Tools/function_package/fundef_package.ML	Sat Sep 01 15:46:59 2007 +0200
@@ -144,7 +144,7 @@
 fun setup_termination_proof term_opt lthy =
     let
       val data = the (case term_opt of
-                        SOME t => import_fundef_data (ProofContext.read_term lthy t) (Context.Proof lthy)
+                        SOME t => import_fundef_data (Syntax.read_term lthy t) (Context.Proof lthy)
                       | NONE => import_last_fundef (Context.Proof lthy))
           handle Option.Option => raise ERROR ("Not a function: " ^ quote (the_default "" term_opt))