[dmd-internals] named character entities, the spec, and dmd

Don Clugston dclugston at gmail.com
Tue Jul 31 00:28:14 PDT 2012


On 31 July 2012 08:43, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> On Monday, July 30, 2012 23:37:50 Walter Bright wrote:
>> Simply say that we support the HTML 5 spec.
>
> Okay.
>
>> We can get the two code point ones to work.
>
> How? A dchar is a single code point. We could theoretically make them work in
> string literals (though that does complicate things a bit), but I don't see
> how that would be possible with character literals.

It just doesn't fit into a dchar. We have that situation already, char
x = 'ä', doesn't compile.
It's OK.


More information about the dmd-internals mailing list