diff options
author | Paul Phillips <paulp@improving.org> | 2011-03-15 04:02:35 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-03-15 04:02:35 +0000 |
commit | 4383277103b8bc78244aff05d5116b07e70f2c2a (patch) | |
tree | cc3c66dd4dd1da779fb624478bce56bc125a6aaf /tools | |
parent | e96dba0c9a2467c6cf396c70a48ef0750503c26e (diff) | |
download | scala-4383277103b8bc78244aff05d5116b07e70f2c2a.tar.gz scala-4383277103b8bc78244aff05d5116b07e70f2c2a.tar.bz2 scala-4383277103b8bc78244aff05d5116b07e70f2c2a.zip |
Addresses the issues swirling around Double.Eps...
Addresses the issues swirling around Double.Epsilon and friends which
were battled out in more than one venue and then aptly summarized by
retronym in #3791. Thanks to Simon Ochsenreither for submitting a patch;
I wasn't able to use too much of it because the source code for these
types is generated, but effort is always appreciated. Closes #3791, and
I'm tired and I'd hate to blow this one at this late date: review by
rytz.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/codegen | 3 | ||||
-rwxr-xr-x | tools/codegen-anyvals | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tools/codegen b/tools/codegen index eee5a3884e..734235aef8 100755 --- a/tools/codegen +++ b/tools/codegen @@ -3,5 +3,6 @@ THISDIR=`dirname $0` SCALALIB=$THISDIR/../src/library/scala +BINDIR=$THISDIR/../build/pack/bin -scala scala.tools.cmd.gen.Codegen "$@" +$BINDIR/scala scala.tools.cmd.gen.Codegen "$@" diff --git a/tools/codegen-anyvals b/tools/codegen-anyvals new file mode 100755 index 0000000000..27d1c40134 --- /dev/null +++ b/tools/codegen-anyvals @@ -0,0 +1,5 @@ +#!/bin/bash +# + +THISDIR=`dirname $0` +$THISDIR/codegen --anyvals --out $THISDIR/../src/library/scala |