[project @ 2003-09-10 16:44:03 by simonmar]
authorsimonmar <unknown>
Wed, 10 Sep 2003 16:44:05 +0000 (16:44 +0000)
committersimonmar <unknown>
Wed, 10 Sep 2003 16:44:05 +0000 (16:44 +0000)
commit7cbba64b65967d947f5b028c80c0e2320376aabd
tree7d47ecd91b93a2cf5bac1a21c5f220b4931e30fa
parent868973ac573282c71d4b2661e2ffa418840168d7
[project @ 2003-09-10 16:44:03 by simonmar]
New flags for individual syntax extensions:

  -fth                enables template haskell
  -fimplicit-params   enables implicit parameters

These extensions are still implied by -fglasgow-exts, but they can now
be switched off individually with -fno-th and -fno-implicit-params
respectively.  Also, -fno-ffi now works as expected.

I cleaned up the interface to the lexer a bit while I was here.
ghc/compiler/main/CmdLineOpts.lhs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/HscMain.lhs
ghc/compiler/main/ParsePkgConf.y
ghc/compiler/parser/Lexer.x
ghc/compiler/rename/RnHiFiles.lhs