Commit 47d37047 authored by Ian Lynagh's avatar Ian Lynagh

Fix building genprimopcode with GHC 7.0, and remove haskell98 imports

parent 066d28b9
......@@ -8,10 +8,10 @@ module Main where
import Parser
import Syntax
import Char
import List
import System ( getArgs )
import Maybe ( catMaybes )
import Data.Char
import Data.List
import Data.Maybe ( catMaybes )
import System.Environment ( getArgs )
main :: IO ()
main = getArgs >>= \args ->
......
......@@ -12,5 +12,6 @@
utils/genprimopcode_dist_MODULES = Lexer Main ParserM Parser Syntax
utils/genprimopcode_dist_PROG = $(GHC_GENPRIMOP_PGM)
utils/genprimopcode_dist_HC_OPTS = -package array
$(eval $(call build-prog,utils/genprimopcode,dist,0))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment