Changes between Version 6 and Version 8 of Ticket #10

Show
Ignore:
Timestamp:
10/16/12 09:59:33 (22 months ago)
Author:
SimonHengel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10

    • Property summary changed from Modules without an explicit module declaration can not be parsed to Parsing module without explicit module declaration fails
  • Ticket #10 – description

    v6 v8  
    1010 
    1111=== Details === 
    12 GHC's parser has a rule for Haddock comments on the module headers. 
     12GHC's parser has a rule for Haddock comments on module headers. 
    1313When the parser sees the Haddock comment at the 
    1414beginning it then wants the next declaration to be a module header 
    15 (the GHC grammar has an S/R conflict because of this). 
     15(the grammar has an S/R conflict because of this). 
    1616 
    1717One 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.