[MLton-commit] r4992
Vesa Karvonen
vesak at mlton.org
Tue Dec 19 23:52:43 PST 2006
Changed '-stop f' output to include mlb-files. The motivation for this is
that '-stop f' is often used for generating dependencies in Makefiles and
the mlb-files should be included.
It is easy to recover the old output (without the mlb-files). For
example, if one previously used the command
mlton -stop f some.mlb
then the old output can be recovered using the command
mlton -stop f some.mlb | grep -v '\.mlb$'
where the grep removes the mlb-files from the output.
----------------------------------------------------------------------
U mlton/trunk/mlton/ast/ast-mlbs.fun
----------------------------------------------------------------------
Modified: mlton/trunk/mlton/ast/ast-mlbs.fun
===================================================================
--- mlton/trunk/mlton/ast/ast-mlbs.fun 2006-12-19 20:09:46 UTC (rev 4991)
+++ mlton/trunk/mlton/ast/ast-mlbs.fun 2006-12-20 07:52:43 UTC (rev 4992)
@@ -128,7 +128,8 @@
else let
val () = b := true
in
- sourceFilesBasdec (Promise.force dec)
+ Buffer.add (sourceFiles, fileAbs)
+ ; sourceFilesBasdec (Promise.force dec)
end
end
| Open _ => ()
More information about the MLton-commit
mailing list