#1290: ghc runs preprocessor too much
------------------------+---------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Driver | Version: 6.7
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
------------------------+---------------------------------------------------
Comment (by simonmar):
I don't see how to avoid this easily: we need to parse the imports of
every source file in order to construct the dependency tree, and we can't
parse the imports without preprocessing the source file first.
Perhaps keeping a cache file containing the imports for each source file
with the last-modified date of the source?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1290>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs