X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenprimopcode%2FParser.y;h=9bf20c2dd7a5ce22fa182919187d656c17d72975;hb=1a660e030bd3aaaa34adfea77d72856cdb48479e;hp=07f1a84863a679be3749fd3bfcec0a60e70ce6c8;hpb=d759c7231dde979ed2824bd39b2fdff24357d355;p=ghc-hetmet.git diff --git a/utils/genprimopcode/Parser.y b/utils/genprimopcode/Parser.y index 07f1a84..9bf20c2 100644 --- a/utils/genprimopcode/Parser.y +++ b/utils/genprimopcode/Parser.y @@ -1,10 +1,10 @@ { -{-# OPTIONS_GHC -w #-} +{-# 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/WorkingConventions#Warnings +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details module Parser (parse) where @@ -16,6 +16,7 @@ import Syntax } %name parsex +%expect 0 %tokentype { Token } %monad { ParserM } %lexer { lex_tok } { TEOF }