diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-07-24 13:04:17 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-07-24 13:04:17 +0000 |
commit | 31cf07bc6d4aa5babc48498c6c4198b642f50390 (patch) | |
tree | 45d10eec122e6b4db3c840c78eacca38023a553a /HACKING | |
parent | 911ab82c2a7c1aaf8feb78731f0bae588d244e14 (diff) | |
download | haskell-31cf07bc6d4aa5babc48498c6c4198b642f50390.tar.gz |
FIX #1215: GHC fails to respect the maximal munch rule while lexing "qualified reservedids"
I didn't actually fix this to respect Haskell 98, instead I changed it
to follow the proposal for Haskell':
http://hackage.haskell.org/cgi-bin/haskell-prime/trac.cgi/wiki/QualifiedIdentifiers
Rationale:
- We didn't respect Haskell 98 with respect to qualified symbols either
- The Haskell' change makes things much cleaner
- Obeying the Haskell 98 spec literally has some unintended
consequences (e.g. M.where must lex as "M.wher" "e")
- Any programs that compiled before this change and do not compile
after it were illegal according to Haskell 98 anyway.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions