progs/fun/fun_tokens.sc
changeset 975 ae5c03560d4d
parent 961 c0600f8b6427
--- a/progs/fun/fun_tokens.sc	Fri Nov 22 12:42:07 2024 +0000
+++ b/progs/fun/fun_tokens.sc	Fri Nov 29 18:58:18 2024 +0000
@@ -8,8 +8,6 @@
 //     amm fun_tokens.sc defs.fun
 //
 
-//> using toolkit 0.5.0
- 
 
 import scala.language.implicitConversions    
 import scala.language.reflectiveCalls 
@@ -246,14 +244,8 @@
   else { println (s"Tokenise Error") ; sys.exit(-1) }     
 }
 
-// pre-2.5.0 ammonite 
-// import ammonite.ops._
 
-// post 2.5.0 ammonite
-// import os._
-
-//@doc("Tokenising a file.")
-//@main
+@main
 def main(fname: String) = {
   println(tokenise(os.read(os.pwd / fname)))
 }