Language extensions - backwards compatibility
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Fri Jan 29 05:58:47 EST 2010
> Any sort of preprocessing at the beginning of a file appears to
> insert enough noise to inhibit recognition of file-header pragmas.
> (Cpphs doesn't appear to help here.)
The flag -P for traditional gnu cpp (or --noline for stand-alone
cpphs) should suppress the initial #line noise.
Does ghc still fail to recognise a module-start pragma, even if the
only characters preceding it are whitespace?
Regards,
Malcolm
More information about the Glasgow-haskell-users
mailing list