Handle haddock headers when looking for LANGUAGE/OPTIONS_GHC pragmas
[ghc-hetmet.git] / compiler / parser / Parser.y.pp
index 42cb96f..37f9ba6 100644 (file)
@@ -936,7 +936,7 @@ infixtype :: { LHsType RdrName }
 
 strict_mark :: { Located HsBang }
        : '!'                           { L1 HsStrict }
-       | '{-# UNPACK' '#-}' '!'        { LL HsUnbox }
+       | '{-# UNPACK' '#-}' '!'        { LL HsUnpack }
 
 -- A ctype is a for-all type
 ctype  :: { LHsType RdrName }