[project @ 2003-09-11 09:29:22 by simonmar]
authorsimonmar <unknown>
Thu, 11 Sep 2003 09:29:22 +0000 (09:29 +0000)
committersimonmar <unknown>
Thu, 11 Sep 2003 09:29:22 +0000 (09:29 +0000)
The reify keywords should be valid when template haskell is turned on.

ghc/compiler/parser/Lexer.x

index 0bff597..1159f63 100644 (file)
@@ -503,9 +503,9 @@ reservedWordsFM = listToUFM $
 
        ( "forall",     ITforall,        bit glaExtsBit),
        ( "mdo",        ITmdo,           bit glaExtsBit),
-       ( "reifyDecl",  ITreifyDecl,     bit glaExtsBit),
-       ( "reifyType",  ITreifyType,     bit glaExtsBit),
-       ( "reifyFixity",ITreifyFixity,   bit glaExtsBit),
+       ( "reifyDecl",  ITreifyDecl,     bit thBit),
+       ( "reifyType",  ITreifyType,     bit thBit),
+       ( "reifyFixity",ITreifyFixity,   bit thBit),
 
        ( "foreign",    ITforeign,       bit ffiBit),
        ( "export",     ITexport,        bit ffiBit),