patch applied (ghc): Fix Trac #2490: sections should be parenthesised

Simon Peyton Jones simonpj at microsoft.com
Tue Aug 12 04:29:16 EDT 2008


Tue Aug 12 01:23:32 PDT 2008  simonpj at microsoft.com
  * Fix Trac #2490: sections should be parenthesised
  
  When I added bang patterns I had to slightly generalise where the
  parser would recognise sections.  See Note [Parsing sections] in
  parser.y.pp.
  
  I forgot to check that ordinary H98 sections obey the original
  rules.  This patch adds the check.
  

    M ./compiler/parser/Parser.y.pp -6 +17
    M ./compiler/rename/RnExpr.lhs -15 +42

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080812082332-1287e-b9a22144f136c6dd945c283ea9d622d6eaeb5d3c.gz



More information about the Cvs-ghc mailing list