X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenprimopcode%2FParser.y;h=9bf20c2dd7a5ce22fa182919187d656c17d72975;hb=47d37047e1f51f32184e7a3b6e68a22c2156ae32;hp=c189840937f74e755a79bf000258114b72fff032;hpb=ad94d40948668032189ad22a0ad741ac1f645f50;p=ghc-hetmet.git diff --git a/utils/genprimopcode/Parser.y b/utils/genprimopcode/Parser.y index c189840..9bf20c2 100644 --- a/utils/genprimopcode/Parser.y +++ b/utils/genprimopcode/Parser.y @@ -1,10 +1,10 @@ { -{-# OPTIONS -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/CodingStyle#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 }