make SML/NJ happier
authorblanchet
Wed, 22 Sep 2010 10:02:39 +0200
changeset 39602 ae2c3059f8cc
parent 39601 922634ecdda4
child 39611 e5448cf9a048
make SML/NJ happier
src/HOL/Tools/ATP/atp_proof.ML
--- a/src/HOL/Tools/ATP/atp_proof.ML	Tue Sep 21 14:42:29 2010 +0200
+++ b/src/HOL/Tools/ATP/atp_proof.ML	Wed Sep 22 10:02:39 2010 +0200
@@ -291,8 +291,8 @@
 
 (* It is not clear why some literals are followed by sequences of stars and/or
    pluses. We ignore them. *)
-val parse_decorated_atom =
-  parse_atom --| Scan.repeat ($$ "*" || $$ "+" || $$ " ")
+fun parse_decorated_atom x =
+  (parse_atom --| Scan.repeat ($$ "*" || $$ "+" || $$ " ")) x
 
 fun mk_horn ([], []) = AAtom (ATerm ("c_False", []))
   | mk_horn ([], pos_lits) = foldr1 (mk_aconn AOr) pos_lits