[commit: ghc] master: Remove some old commented-out code in StaticFlags (c9e7159)

Ian Lynagh igloo at earth.li
Fri Apr 26 03:12:26 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : master

https://github.com/ghc/ghc/commit/c9e7159b53e88790340b70ca0150178fe6c5704a

>---------------------------------------------------------------

commit c9e7159b53e88790340b70ca0150178fe6c5704a
Author: Ian Lynagh <ian at well-typed.com>
Date:   Thu Apr 25 21:27:30 2013 +0100

    Remove some old commented-out code in StaticFlags

>---------------------------------------------------------------

 compiler/main/StaticFlags.hs | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/compiler/main/StaticFlags.hs b/compiler/main/StaticFlags.hs
index e2b9d95..064154d 100644
--- a/compiler/main/StaticFlags.hs
+++ b/compiler/main/StaticFlags.hs
@@ -272,20 +272,3 @@ try_read sw str
                         --       and announce errors in a more civilised way.
 -}
 
-
-{-
- Putting the compiler options into temporary at-files
- may turn out to be necessary later on if we turn hsc into
- a pure Win32 application where I think there's a command-line
- length limit of 255. unpacked_opts understands the @ option.
-
-unpacked_opts :: [String]
-unpacked_opts =
-  concat $
-  map (expandAts) $
-  map unpackFS argv  -- NOT ARGV any more: v_Static_hsc_opts
-  where
-   expandAts ('@':fname) = words (unsafePerformIO (readFile fname))
-   expandAts l = [l]
--}
-





More information about the ghc-commits mailing list