
#7807: Parse error with "where" and file-ending comment --------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.8.1 Component: Compiler (Parser) | Version: 7.7 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: --------------------------------------+------------------------------------ Comment (by goldfire): Thanks, monoidal. Sorry for not responding to the infoneeded -- I guess I just skipped over this bug report when it landed in my email. My guess is that the original problem was caused by a shift-reduce conflict in the way that the old implementation parsed the equations. The new implementation avoids the shift-reduce conflict, and, evidently, this error. Thanks, both, for taking a look at this! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/7807#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler