summaryrefslogtreecommitdiff
path: root/compiler/parser/Lexer.x
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-01 11:21:30 +0000
committerIan Lynagh <igloo@earth.li>2007-09-01 11:21:30 +0000
commit17b297d97d327620ed6bfab942f8992b2446f1bf (patch)
treec84753f3bbbc9a1f0a262abfad5ddcf9d5b6271b /compiler/parser/Lexer.x
parente11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff)
downloadhaskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/parser/Lexer.x')
-rw-r--r--compiler/parser/Lexer.x7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x
index 1be9aa3443..279f001c4e 100644
--- a/compiler/parser/Lexer.x
+++ b/compiler/parser/Lexer.x
@@ -21,6 +21,13 @@
-- - pragma-end should be only valid in a pragma
{
+{-# 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 Lexer (
Token(..), lexer, pragState, mkPState, PState(..),
P(..), ParseResult(..), getSrcLoc,