Skip to content

Commit 08f4a08

Browse files
author
Jeremy Shaw
committed
remove -fglasgow-exts flag from System.Eval.Utils.getPath
1 parent 92e57e9 commit 08f4a08

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/System/Eval/Utils.hs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
--
1+
--
22
-- Copyright (C) 2004 Don Stewart - http://www.cse.unsw.edu.au/~dons
3-
--
3+
--
44
-- This library is free software; you can redistribute it and/or
55
-- modify it under the terms of the GNU Lesser General Public
66
-- License as published by the Free Software Foundation; either
77
-- version 2.1 of the License, or (at your option) any later version.
8-
--
8+
--
99
-- This library is distributed in the hope that it will be useful,
1010
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1212
-- Lesser General Public License for more details.
13-
--
13+
--
1414
-- You should have received a copy of the GNU Lesser General Public
1515
-- License along with this library; if not, write to the Free Software
1616
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
1717
-- USA
18-
--
18+
--
1919

2020
--
2121
-- compile and run haskell strings at runtime.
2222
--
2323

24-
module System.Eval.Utils (
24+
module System.Eval.Utils (
2525

2626
Import,
2727
symbol,
@@ -44,10 +44,10 @@ import System.Directory
4444

4545
import Data.Char
4646

47-
--
47+
--
4848
-- we export these so that eval() users have a nice time
4949
--
50-
import Data.Maybe
50+
import Data.Maybe
5151
import Control.Monad
5252

5353
--
@@ -71,15 +71,15 @@ escape s = concatMap (\c -> showLitChar c $ "") s
7171
--
7272
getPaths :: IO ([String],[String])
7373
getPaths = do
74-
let make_line = ["-O0","-fglasgow-exts","-package","plugins"]
74+
let make_line = ["-O0","-package","plugins"]
7575
return (make_line,[])
7676

7777
-- ---------------------------------------------------------------------
7878
-- create the tmp file, and write source into it, using wrapper to
7979
-- create extra .hs src.
8080
--
81-
mkUniqueWith :: (String -> String -> [Import] -> String)
82-
-> String
81+
mkUniqueWith :: (String -> String -> [Import] -> String)
82+
-> String
8383
-> [Import] -> IO FilePath
8484

8585
mkUniqueWith wrapper src mods = do

0 commit comments

Comments
 (0)