dmd 1.073 and 2.058 release

Timon Gehr timon.gehr at gmx.ch
Thu Feb 16 14:58:22 PST 2012


On 02/16/2012 08:37 PM, Martin Nowak wrote:
> On Thu, 16 Feb 2012 10:29:55 +0100, Jonathan M Davis
> <jmdavisProg at gmx.com> wrote:
>
>> On Thursday, February 16, 2012 00:10:20 Caligo wrote:
>>> float x = 1.f; // GIVES ERROR
>>>
>>> float y = 0.f; // OK
>>>
>>> what's up with that? Is that a bug?
>>
>> I would think so.
>>
>> - Jonathan M Davis
>
> Somewhere in the lexer.
> Numbers starting with 0 have a different control flow because of 0x and 0b.

This kind of duplicated control flow seems to be a pervasive problem in 
DMDs lexer and parser, making hacking on them a nightmare.


More information about the Digitalmars-d-announce mailing list