add some {-# LANGUAGE BangPatterns #-} to mollify GHC
[ghc-hetmet.git] / utils / genprimopcode / Parser.y
index 7ebe2a8..b20414d 100644 (file)
@@ -1,5 +1,6 @@
 
 {
+{-# LANGUAGE BangPatterns #-} -- required for versions of Happy before 1.18.6
 {-# 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
@@ -16,6 +17,7 @@ import Syntax
 }
 
 %name      parsex
+%expect    0
 %tokentype { Token }
 %monad     { ParserM }
 %lexer     { lex_tok } { TEOF }