SCM Repository
View of /sml/trunk/src/ml-burg/errormsg.sml
Parent Directory
|
Revision Log
Revision 2 -
(download)
(annotate)
Sat Oct 4 23:33:09 1997 UTC (23 years, 6 months ago) by monnier
File size: 699 byte(s)
Sat Oct 4 23:33:09 1997 UTC (23 years, 6 months ago) by monnier
File size: 699 byte(s)
Initial revision
(* errormsg.sml * * COPYRIGHT (c) 1995 AT&T Bell Laboratories. * * $Log$ * Revision 1.1 1997/10/04 23:33:22 monnier * Initial revision * # Revision 1.1.1.1 1997/01/14 01:37:59 george # Version 109.24 # * Revision 1.1.1.2 1997/01/11 18:52:30 george * ml-burg Version 109.24 * * Revision 1.1.1.1 1996/01/31 16:01:24 george * Version 109 * *) structure ErrorMsg = struct exception Compiler val anyErrors = ref false fun say (msg:string) = (print msg; print "\n") fun warning msg = say ("\tWarning: " ^ msg); fun complain msg = (say ("\tError: " ^ msg); anyErrors := true) fun impossible msg = (complain("Internal bug: " ^ msg); raise Compiler) end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |