Eta-expanded function scan_comment to make SmlNJ happy.
--- a/src/Pure/Syntax/lexicon.ML Tue May 11 10:49:58 2004 +0200
+++ b/src/Pure/Syntax/lexicon.ML Tue May 11 14:00:02 2004 +0200
@@ -270,10 +270,10 @@
Scan.lift ($$ "*" --| Scan.ahead (Scan.one (not_equal ")"))) ||
Scan.lift (Scan.one (not_equal "*" andf Symbol.not_eof));
-val scan_comment =
- $$ "(" -- $$ "*" -- !! (lex_err "missing end of comment" "(*")
+fun scan_comment xs =
+ ($$ "(" -- $$ "*" -- !! (lex_err "missing end of comment" "(*")
(Scan.pass 0 (Scan.repeat scan_cmt) -- $$ "*" -- $$ ")")
- >> K None;
+ >> K None) xs;