On 02/16/2012 08:37 PM, Martin Nowak wrote:
On Thu, 16 Feb 2012 10:29:55 +0100, Jonathan M Davis
<[email protected]> 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.