Changes between Version 6 and Version 8 of Ticket #10
- 10/16/12 09:59:33 (7 months ago)
- Property summary changed from Modules without an explicit module declaration can not be parsed to Parsing module without explicit module declaration fails
v6 v8 10 10 11 11 === Details === 12 GHC's parser has a rule for Haddock comments on themodule headers. 12 GHC's parser has a rule for Haddock comments on module headers. 13 13 When the parser sees the Haddock comment at the 14 14 beginning it then wants the next declaration to be a module header 15 (the GHCgrammar has an S/R conflict because of this). 15 (the grammar has an S/R conflict because of this). 16 16 17 17 One possible solution could be to parse Haddock comments separately from the Haskell code, and match up Haddock comments with AST nodes in a later step.