[project @ 2002-02-15 21:06:29 by sof]
authorsof <unknown>
Fri, 15 Feb 2002 21:06:29 +0000 (21:06 +0000)
committersof <unknown>
Fri, 15 Feb 2002 21:06:29 +0000 (21:06 +0000)
fix bug which caused 'safe' to be identical to 'unsafe' in an FFI decl.

ghc/compiler/parser/Lex.lhs

index 501dd43..d464788 100644 (file)
@@ -319,7 +319,7 @@ ghcExtensionKeywordsFM = listToUFM $
        ( "export",     ITexport ),
        ( "label",      ITlabel ),
        ( "dynamic",    ITdynamic ),
-       ( "safe",       ITunsafe ),
+       ( "safe",       ITsafe ),
        ( "unsafe",     ITunsafe ),
        ( "with",       ITwith ),
        ( "stdcall",    ITstdcallconv),