From 7d6363d661b5a9e98539c6c2e8002f754b89f20c Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 5 Sep 2007 18:48:08 +0000 Subject: [PATCH] Add an OPTIONS -w pragma to utils/genprimopcode/Lexer.xx SPJ reports that it has warnings (=> errors with -Werror) on Windows. --- utils/genprimopcode/Lexer.x | 7 +++++++ 1 file changed, 7 insertions(+) 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, -- 1.7.10.4