X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenprimopcode%2FLexer.x;h=df710d72b3fc3bbecfa65bd6160db6b7e926e97a;hb=bfa0c2ed1e4cd07c7934901520cb04db6b79cd9d;hp=8d0c3e93ffe43958d3cb1a71f809750b96a8211b;hpb=045dd8b9f7a7cc08704956366aa32c0f6bcf459e;p=ghc-hetmet.git diff --git a/utils/genprimopcode/Lexer.x b/utils/genprimopcode/Lexer.x index 8d0c3e9..df710d7 100644 --- a/utils/genprimopcode/Lexer.x +++ b/utils/genprimopcode/Lexer.x @@ -1,9 +1,17 @@ { +{-# LANGUAGE BangPatterns #-} -- required for versions of Alex before 2.3.4 +{-# 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 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)