adapted to changes in module Code
authorhaftmann
Tue, 12 May 2009 21:17:38 +0200
changeset 31128 b3bb28c87409
parent 31127 b63c3f6bd3be
child 31129 d2cead76fca2
adapted to changes in module Code
src/HOL/Library/Efficient_Nat.thy
--- a/src/HOL/Library/Efficient_Nat.thy	Tue May 12 21:17:34 2009 +0200
+++ b/src/HOL/Library/Efficient_Nat.thy	Tue May 12 21:17:38 2009 +0200
@@ -179,7 +179,7 @@
        else NONE
   end;
 
-val eqn_suc_preproc = Code.simple_functrans (gen_eqn_suc_preproc
+val eqn_suc_preproc = Code_Preproc.simple_functrans (gen_eqn_suc_preproc
   @{thm Suc_if_eq} I (fst o Logic.dest_equals));
 
 fun eqn_suc_preproc' thy thms = gen_eqn_suc_preproc
@@ -229,7 +229,7 @@
 
   Codegen.add_preprocessor eqn_suc_preproc'
   #> Codegen.add_preprocessor clause_suc_preproc
-  #> Code.add_functrans ("eqn_Suc", eqn_suc_preproc)
+  #> Code_Preproc.add_functrans ("eqn_Suc", eqn_suc_preproc)
 
 end;
 *}