#314: #line pragmas not respected inside nested comments --------------------------------+------------------------------------------- Reporter: nobody | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.1 Component: Compiler (Parser) | Version: 6.4 Resolution: None | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: read032 | Blockedby: Blocking: | Related: --------------------------------+------------------------------------------- Changes (by simonmar):
* priority: low => high * milestone: _|_ => 7.8.1 Comment: In case it isn't clear from the previous comment: * GHC uses `#line` pragmas to determine what source files were visited by the C preprocessor, and tracks dependencies on these for recompilation * The lexer currently ignores `#line` pragmas inside `{- .. -}` comments, and hence it misses any preprocessor dependencies inside `{- .. -}` I'm raising the priority of this bug. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/314#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs