CVS: sml-dist/src/compiler/FLINT/trans translate.sml, 1.33.4.15, 1.33.4.16
George Kuan <[email protected]> Wed, 26 Jul 2006 14:28:31 -0700
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml-dist/src/compiler/FLINT/trans
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv14288/src/compiler/FLINT/trans
Modified Files:
Tag: primop-branch-2
translate.sml
Log Message:
translate now reports every site of introduction for lvars
Index: translate.sml
===================================================================
RCS file: /cvsroot/smlnj/sml-dist/src/compiler/FLINT/trans/translate.sml,v
retrieving revision 1.33.4.15
retrieving revision 1.33.4.16
diff -C2 -d -r1.33.4.15 -r1.33.4.16
*** translate.sml 26 Jul 2006 15:22:19 -0000 1.33.4.15
--- translate.sml 26 Jul 2006 21:28:29 -0000 1.33.4.16
***************
*** 179,182 ****
--- 179,191 ----
else ()
+ fun repWarn msg = complain EM.WARN msg EM.nullErrorBody
+
+ (** This may shadow previous definition of mkv ... this version reports the
+ site of introduction of the lvar *)
+ fun mkv () =
+ let val v = mkvN NONE
+ in (repWarn ("LVar" ^ LambdaVar.lvarName v); v)
+ end
+
end (* markexn-local *)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV