
11 Sep
2010
11 Sep
'10
1:57 p.m.
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-pr...), 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?