X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenprimopcode%2FLexer.x;h=520d1e1742407a4a5e7132734fe67f62e60352af;hb=8aaa9ef471cadbc79fca58b234b198065f650dcf;hp=19b0f667d690f223945409f7b4e1bda0d277eeca;hpb=03ffa2bfa6c31dc6bcdcacecc2bdb3bbabd800a9;p=ghc-hetmet.git diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x index 19b0f66..520d1e1 100644 --- a/utils/genprimopcode/Lexer.x +++ b/utils/genprimopcode/Lexer.x @@ -1,10 +1,16 @@ { +{-# OPTIONS -w -Wwarn #-} +-- 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 Control.Monad.State (StateT, get) import ParserM (ParserM (..), mkT, mkTv, Token(..), St, start_code, - StartCode, Action, set_start_code, + set_start_code, inc_brace_depth, dec_brace_depth, show_pos, position, input, AlexInput, alexGetChar, alexInputPrevChar)