[GHC] #870: extra commas accepted in import export lists
GHC
trac at galois.com
Sat Aug 19 15:46:27 EDT 2006
#870: extra commas accepted in import export lists
--------------------------------+-------------------------------------------
Reporter: ross | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
--------------------------------+-------------------------------------------
Changes (by ross):
* component: Compiler => Compiler (Parser)
Comment:
Just to be clear, this patch implements the Haskell 98 syntax:
{{{
exports -> ( export1 , ... , exportn [ , ] ) (n>=0)
}}}
i.e. it allows an optional extra comma at the end, but not at the start or
next to another comma.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/870>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list