src/HOL/Tools/Predicate_Compile/predicate_compile.ML
changeset 33142 edab304696ec
parent 33140 83951822bfd0
child 33146 bf852ef586f2
--- a/src/HOL/Tools/Predicate_Compile/predicate_compile.ML	Sat Oct 24 16:55:42 2009 +0200
+++ b/src/HOL/Tools/Predicate_Compile/predicate_compile.ML	Sat Oct 24 16:55:42 2009 +0200
@@ -145,19 +145,17 @@
 val bool_options = ["show_steps", "show_intermediate_results", "show_proof_trace",
   "show_mode_inference", "show_compilation", "skip_proof", "inductify", "rpred", "depth_limited"]
 
-val _ = List.app OuterKeyword.keyword ("mode" :: bool_options)
-
 local structure P = OuterParse
 in
 
 val opt_modes =
-  Scan.optional (P.$$$ "(" |-- P.$$$ "mode" |-- P.$$$ ":" |--
+  Scan.optional (P.$$$ "(" |-- Args.$$$ "mode" |-- P.$$$ ":" |--
    P.enum1 "," (P.$$$ "[" |-- P.enum "," P.nat --| P.$$$ "]")
   --| P.$$$ ")" >> SOME) NONE
 
 val scan_params =
   let
-    val scan_bool_param = foldl1 (op ||) (map P.$$$ bool_options)
+    val scan_bool_param = foldl1 (op ||) (map Args.$$$ bool_options)
   in
     Scan.optional (P.$$$ "[" |-- P.enum1 "," scan_bool_param --| P.$$$ "]") []
   end