add some {-# LANGUAGE BangPatterns #-} to mollify GHC
authorSimon Marlow <marlowsd@gmail.com>
Wed, 17 Nov 2010 11:37:05 +0000 (11:37 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 17 Nov 2010 11:37:05 +0000 (11:37 +0000)
compiler/cmm/CmmParse.y
compiler/parser/Parser.y.pp
compiler/parser/ParserCore.y
utils/genprimopcode/Lexer.x
utils/genprimopcode/Parser.y
utils/hpc/HpcParser.y

index aaa7c42..f22977f 100644 (file)
@@ -11,6 +11,7 @@
 -- TODO: Add support for interruptible/uninterruptible foreign call specification
 
 {
 -- TODO: Add support for interruptible/uninterruptible foreign call specification
 
 {
+{-# LANGUAGE BangPatterns #-} -- required for versions of Happy before 1.18.6
 {-# OPTIONS -Wwarn -w -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
 {-# OPTIONS -Wwarn -w -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
index 5a181cf..5441299 100644 (file)
@@ -8,6 +8,7 @@
 -- ---------------------------------------------------------------------------
 
 {
 -- ---------------------------------------------------------------------------
 
 {
+{-# LANGUAGE BangPatterns #-} -- required for versions of Happy before 1.18.6
 {-# OPTIONS -Wwarn -w -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
 {-# OPTIONS -Wwarn -w -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
index 8cfafae..7c22e21 100644 (file)
@@ -1,4 +1,5 @@
 {
 {
+{-# LANGUAGE BangPatterns #-} -- required for versions of Happy before 1.18.6
 {-# OPTIONS -Wwarn -w -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
 {-# OPTIONS -Wwarn -w -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
index 520d1e1..df710d7 100644 (file)
@@ -1,5 +1,6 @@
 
 {
 
 {
+{-# LANGUAGE BangPatterns #-} -- required for versions of Alex before 2.3.4
 {-# OPTIONS -w -Wwarn #-}
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
 {-# OPTIONS -w -Wwarn #-}
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
index 9bf20c2..b20414d 100644 (file)
@@ -1,5 +1,6 @@
 
 {
 
 {
+{-# LANGUAGE BangPatterns #-} -- required for versions of Happy before 1.18.6
 {-# OPTIONS -w -Wwarn #-}
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
 {-# OPTIONS -w -Wwarn #-}
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
index b4d8c79..01307bf 100644 (file)
@@ -1,4 +1,5 @@
 { 
 { 
+{-# LANGUAGE BangPatterns #-} -- required for versions of Happy before 1.18.6
 {-# OPTIONS -Wwarn -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction
 {-# OPTIONS -Wwarn -XNoMonomorphismRestriction #-}
 -- The NoMonomorphismRestriction deals with a Happy infelicity
 --    With OutsideIn's more conservativ monomorphism restriction