Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/cm/main/cleanup.sml
ViewVC logotype

View of /sml/trunk/src/cm/main/cleanup.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1126 - (download) (annotate)
Thu Mar 7 21:16:28 2002 UTC (18 years ago) by blume
File size: 486 byte(s)
implemented generic Controls module and used it for
all compiler flags/tuneable knobs/...;
more command-line options accepted (for setting the above controls);
some minor bug fixes
 * Cleanup-code to be executed at start-up.
 * (C) 1999 Lucent Technologies, Bell Laboratories
 * Author: Matthias Blume (blume@kurims.kyoto-u.ac.jp)
structure Cleanup = struct
	structure C = SMLofNJ.Internals.CleanUp
	val label = "CM-Cleanup"
	fun atInit initPaths _ = (Controls.init (); initPaths ())
	fun install initPaths =
	    ignore (C.addCleaner (label, [C.AtInit], atInit initPaths))
	fun uninstall () = ignore (C.removeCleaner label)

ViewVC Help
Powered by ViewVC 1.0.0