[MLton-commit] r5429

Matthew Fluet fluet at mlton.org
Thu Mar 15 05:40:50 PST 2007


Move implicit 'type-check true' to beginning of flags.  Now one can
use './bin/regression -type-check false' to override the flag.

----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/bin/regression

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/bin/regression
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/bin/regression	2007-03-15 08:41:18 UTC (rev 5428)
+++ mlton/branches/on-20050822-x86_64-branch/bin/regression	2007-03-15 13:40:49 UTC (rev 5429)
@@ -19,6 +19,8 @@
 skipTo=''
 declare -a flags
 declare -a extraFlags
+flags[${#flags[@]}]="-type-check"
+flags[${#flags[@]}]="true"
 while [ "$#" -gt 0 ]; do
         case "$1" in
         -cross)
@@ -67,8 +69,6 @@
 bin="$src/build/bin"
 lib="$src/build/lib"
 mlton="$bin/mlton"
-flags[${#flags[@]}]="-type-check"
-flags[${#flags[@]}]="true"
 if $cross; then
 	flags[${#flags[@]}]="-target"
 	flags[${#flags[@]}]="$crossTarget"




More information about the MLton-commit mailing list