summaryrefslogtreecommitdiff
path: root/compiler/parser
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 /compiler/parser
parent72fd6d39870c75bd5d916620ed5e707f07179385 (diff)
downloadhaskell-8b104b69acda45c272a2faed0f1a2dd7e6972d87.tar.gz
add some {-# LANGUAGE BangPatterns #-} to mollify GHC
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Parser.y.pp1
-rw-r--r--compiler/parser/ParserCore.y1
2 files changed, 2 insertions, 0 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp
index 5a181cf53c..5441299ff5 100644
--- a/compiler/parser/Parser.y.pp
+++ b/compiler/parser/Parser.y.pp
@@ -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
diff --git a/compiler/parser/ParserCore.y b/compiler/parser/ParserCore.y
index 8cfafae9ba..7c22e2105a 100644
--- a/compiler/parser/ParserCore.y
+++ b/compiler/parser/ParserCore.y
@@ -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