X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenprimopcode%2FParser.y;h=9bf20c2dd7a5ce22fa182919187d656c17d72975;hb=1a660e030bd3aaaa34adfea77d72856cdb48479e;hp=6f1aed1a54ffe2037bbb8df500a04a17d7b2d71d;hpb=7fc749a43b4b6b85d234fa95d4928648259584f4;p=ghc-hetmet.git diff --git a/utils/genprimopcode/Parser.y b/utils/genprimopcode/Parser.y index 6f1aed1..9bf20c2 100644 --- a/utils/genprimopcode/Parser.y +++ b/utils/genprimopcode/Parser.y @@ -1,6 +1,6 @@ { -{-# 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 @@ -16,6 +16,7 @@ import Syntax } %name parsex +%expect 0 %tokentype { Token } %monad { ParserM } %lexer { lex_tok } { TEOF }