[project @ 2000-03-27 08:50:15 by simonmar]
authorsimonmar <unknown>
Mon, 27 Mar 2000 08:50:15 +0000 (08:50 +0000)
committersimonmar <unknown>
Mon, 27 Mar 2000 08:50:15 +0000 (08:50 +0000)
Don't treat 'ccall' and 'stdcall' as reserved words.  This fixes
another problem with bootstrapping.

ghc/compiler/rename/ParseIface.y

index cd7068d..ad12190 100644 (file)
@@ -527,6 +527,8 @@ var_fs              :: { EncodedFS }
                | 'dynamic'             { SLIT("dynamic") }
                | 'unsafe'              { SLIT("unsafe") }
                | 'with'                { SLIT("with") }
+               | 'ccall'               { SLIT("ccall") }
+               | 'stdcall'             { SLIT("stdcall") }
 
 qvar_fs                :: { (EncodedFS, EncodedFS) }
                :  QVARID               { $1 }