[Haskell-cafe] Disable LINE Pragma handling in GHC
jpmoresmau at gmail.com
Sun Sep 12 13:52:10 EDT 2010
Users may not want to edit the files directly, but they'll be happy to be
able to open them with proper syntax highlighting, for example.
On Sat, Sep 11, 2010 at 7:57 PM, Henning Thielemann <
schlepptop at henning-thielemann.de> wrote:
> JP Moresmau schrieb:
> > Hello fellow Haskellers,
> > In EclipseFP we use the GHC API for IDE related stuff like syntax
> > highlighting and code outlines. However, I ran into something funny
> > yesterday: when a source file contains LINE pragmas
> > (
> > all the locations for tokens are changed to reflect the pragmas
> > information.
> I thought that files that contain the LINE pragma usually are
> automatically generated files. Why would you want to edit or maintain
> such files in an IDE?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe