summaryrefslogtreecommitdiff
path: root/compiler/parser
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-04-24 12:47:54 +0000
committerIan Lynagh <igloo@earth.li>2009-04-24 12:47:54 +0000
commit831a35dd00faff195cf938659c2dd736192b865f (patch)
tree09b90239d250dca8fa8364c0daa80bbcef9c095c /compiler/parser
parent7936b988d6d0a5f9a9b439c7d4a6adf616ddb9b5 (diff)
downloadhaskell-831a35dd00faff195cf938659c2dd736192b865f.tar.gz
Require a bang pattern when unlifted types are where/let bound; #3182
For now we only get a warning, rather than an error, because the alex and happy templates don't follow the new rules yet.
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/HaddockLex.x2
-rw-r--r--compiler/parser/HaddockParse.y2
-rw-r--r--compiler/parser/Lexer.x2
-rw-r--r--compiler/parser/Parser.y.pp2
-rw-r--r--compiler/parser/ParserCore.y2
5 files changed, 5 insertions, 5 deletions
diff --git a/compiler/parser/HaddockLex.x b/compiler/parser/HaddockLex.x
index 7ed365f9ba..6399bee2dc 100644
--- a/compiler/parser/HaddockLex.x
+++ b/compiler/parser/HaddockLex.x
@@ -7,7 +7,7 @@
--
{
-{-# OPTIONS -w #-}
+{-# OPTIONS -Wwarn #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
diff --git a/compiler/parser/HaddockParse.y b/compiler/parser/HaddockParse.y
index d46223ddb3..ca2675f8df 100644
--- a/compiler/parser/HaddockParse.y
+++ b/compiler/parser/HaddockParse.y
@@ -1,5 +1,5 @@
{
-{-# OPTIONS -w #-}
+{-# OPTIONS -Wwarn #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index aa2703e37d..edfbecdc91 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -32,7 +32,7 @@
-- qualified varids.
{
-{-# OPTIONS -w #-}
+{-# OPTIONS -Wwarn #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp
index 68392864b8..d5314e4b21 100644
--- a/compiler/parser/Parser.y.pp
+++ b/compiler/parser/Parser.y.pp
@@ -8,7 +8,7 @@
-- ---------------------------------------------------------------------------
{
-{-# OPTIONS -w #-}
+{-# OPTIONS -Wwarn #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See
diff --git a/compiler/parser/ParserCore.y b/compiler/parser/ParserCore.y
index 6d302fb03a..49f70e4fa1 100644
--- a/compiler/parser/ParserCore.y
+++ b/compiler/parser/ParserCore.y
@@ -1,5 +1,5 @@
{
-{-# OPTIONS -w #-}
+{-# OPTIONS -Wwarn #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See