# HG changeset patch # User wenzelm # Date 1262702624 -3600 # Node ID 2cb1530c2691be20c9bef83e6c1baf5d32d47d98 # Parent a6d2d9c07e4621e8c60c8e24e498c34da0927718 tuned; diff -r a6d2d9c07e46 -r 2cb1530c2691 src/Pure/General/scan.scala --- a/src/Pure/General/scan.scala Tue Jan 05 13:45:17 2010 +0100 +++ b/src/Pure/General/scan.scala Tue Jan 05 15:43:44 2010 +0100 @@ -220,8 +220,8 @@ val comment_text = rep(many1(sym => sym != "*" && sym != "(" && Symbol.is_closed(sym)) | """\*(?!\))|\((?!\*)""".r) - val comment_open = "(*" ~ comment_text ^^ (_ => ()) - val comment_close = comment_text ~ "*)" ^^ (_ => ()) + val comment_open = "(*" ~ comment_text ^^^ () + val comment_close = comment_text ~ "*)" ^^^ () def apply(in: Input) = {