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.

JP

On Sat, Sep 11, 2010 at 7:57 PM, Henning Thielemann <schlepptop@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
> (http://www.haskell.org/ghc/docs/6.12.2/html/users_guide/pragmas.html#line-pragma),
> 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?




--
JP Moresmau
http://jpmoresmau.blogspot.com/