From: Ian Lynagh Date: Wed, 5 Sep 2007 18:48:08 +0000 (+0000) Subject: Add an OPTIONS -w pragma to utils/genprimopcode/Lexer.xx X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=7d6363d661b5a9e98539c6c2e8002f754b89f20c Add an OPTIONS -w pragma to utils/genprimopcode/Lexer.xx SPJ reports that it has warnings (=> errors with -Werror) on Windows. --- diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x index 2b8289a..ac1ea95 100644 --- a/utils/genprimopcode/Lexer.x +++ b/utils/genprimopcode/Lexer.x @@ -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,