X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fparser%2FLexer.x;h=279f001c4e7b33192df6993f157d4337c46dbca9;hp=1be9aa3443047a383be041bbfddd8527112a72d2;hb=17b297d97d327620ed6bfab942f8992b2446f1bf;hpb=e11fa7a5e0025460df3b8562ccbf3ffd1db68d5d diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 1be9aa3..279f001 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,