summaryrefslogtreecommitdiff
path: root/utils/genprimopcode/Parser.y
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-02 19:39:18 +0000
committerIan Lynagh <igloo@earth.li>2007-09-02 19:39:18 +0000
commitd759c7231dde979ed2824bd39b2fdff24357d355 (patch)
tree8a2c44987b00e67eba4bd61cb629c976121057ae /utils/genprimopcode/Parser.y
parentfbb3eef5ee8f6f901ed6149b246c3bdbf8bd34fd (diff)
downloadhaskell-d759c7231dde979ed2824bd39b2fdff24357d355.tar.gz
Fix and supress some warnings, and turn on -Werror when validating
Diffstat (limited to 'utils/genprimopcode/Parser.y')
-rw-r--r--utils/genprimopcode/Parser.y7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/genprimopcode/Parser.y b/utils/genprimopcode/Parser.y
index a949765526..07f1a84863 100644
--- a/utils/genprimopcode/Parser.y
+++ b/utils/genprimopcode/Parser.y
@@ -1,5 +1,12 @@
{
+{-# OPTIONS_GHC -w #-}
+-- 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
+-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- for details
+
module Parser (parse) where
import Lexer (lex_tok)