Add an OPTIONS -w pragma to utils/genprimopcode/Lexer.xx
authorIan Lynagh <igloo@earth.li>
Wed, 5 Sep 2007 18:48:08 +0000 (18:48 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 5 Sep 2007 18:48:08 +0000 (18:48 +0000)
SPJ reports that it has warnings (=> errors with -Werror) on Windows.

utils/genprimopcode/Lexer.x

index 2b8289a..ac1ea95 100644 (file)
@@ -1,5 +1,12 @@
 
 {
+{-# OPTIONS -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/Commentary/CodingStyle#Warnings
+-- for details
+
 module Lexer (lex_tok) where
 
 import ParserM (ParserM (..), mkT, mkTv, Token(..), St, start_code,