[GHC] #1744: treat byte order mark as zero-width whitespace
GHC
trac at haskell.org
Thu Sep 27 18:01:11 EDT 2007
#1744: treat byte order mark as zero-width whitespace
----------------------------------+-----------------------------------------
Reporter: igloo | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
----------------------------------+-----------------------------------------
Comment (by guest):
Please note, that according to
http://en.wikipedia.org/wiki/Byte_Order_Mark the character U+FEFF is
considered a BOM only if it appears as the first character of a file. In
the context of UTF-8 it simply serves to identify the encoding. So there's
no need to lex it as space, only to ignore it as the first character of a
source file. Thanks.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1744#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list