summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-11-17 11:37:05 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-11-17 11:37:05 +0000
commit8b104b69acda45c272a2faed0f1a2dd7e6972d87 (patch)
tree06da6144b38aef24b6535617b0bae505f5232fe5 /utils
parent72fd6d39870c75bd5d916620ed5e707f07179385 (diff)
downloadhaskell-8b104b69acda45c272a2faed0f1a2dd7e6972d87.tar.gz
add some {-# LANGUAGE BangPatterns #-} to mollify GHC
Diffstat (limited to 'utils')
-rw-r--r--utils/genprimopcode/Lexer.x1
-rw-r--r--utils/genprimopcode/Parser.y1
-rw-r--r--utils/hpc/HpcParser.y1
3 files changed, 3 insertions, 0 deletions
diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x
index 520d1e1742..df710d72b3 100644
--- a/utils/genprimopcode/Lexer.x
+++ b/utils/genprimopcode/Lexer.x
@@ -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
diff --git a/utils/genprimopcode/Parser.y b/utils/genprimopcode/Parser.y
index 9bf20c2dd7..b20414d7d2 100644
--- a/utils/genprimopcode/Parser.y
+++ b/utils/genprimopcode/Parser.y
@@ -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
diff --git a/utils/hpc/HpcParser.y b/utils/hpc/HpcParser.y
index b4d8c79518..01307bf565 100644
--- a/utils/hpc/HpcParser.y
+++ b/utils/hpc/HpcParser.y
@@ -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