src/HOL/Tools/function_package/fundef_datatype.ML
changeset 24867 e5b55d7be9bb
parent 24466 619f78b717cb
child 24920 2a45e400fdad
--- a/src/HOL/Tools/function_package/fundef_datatype.ML	Sat Oct 06 16:41:22 2007 +0200
+++ b/src/HOL/Tools/function_package/fundef_datatype.ML	Sat Oct 06 16:50:04 2007 +0200
@@ -302,13 +302,12 @@
       |> by_pat_completeness_simp
       |> termination_by_lexicographic_order
 
-val funP =
+val _ =
   OuterSyntax.command "fun" "define general recursive functions (short version)" K.thy_decl
   (fundef_parser fun_config
      >> (fn ((config, fixes), (flags, statements)) =>
             (Toplevel.local_theory (target_of config) (fun_cmd config fixes statements flags))));
 
-val _ = OuterSyntax.add_parsers [funP];
 end
 
 end