This seems like what could be a common cause of bugs
Steven Schveighoffer
schveiguy at yahoo.com
Mon Jul 11 08:30:21 PDT 2011
On Mon, 11 Jul 2011 11:22:40 -0400, Daniel Murphy
<yebblies at nospamgmail.com> wrote:
> "Steven Schveighoffer" <schveiguy at yahoo.com> wrote in message
> news:op.vygm6auqeav7ka at localhost.localdomain...
>>
>> 1f is one character shorter :P (BTW, not sure the grammar currently
>> supports this one, even though it compiles. I think:
>>
>> Integer FloatSuffix
>>
>> should be added.
>>
>> I admit, there is no equivalent for real, since L is dual-purposed.
>>
>> -Steve
>
> I didn't even know that existed! Does it work in C?
No, but I don't see why D has to be exactly the same as C :)
It's probably a bug, but it certainly makes sense to me to allow it, even
if it's only useful for certain types. I can't see an ambiguity with it.
-Steve
More information about the Digitalmars-d-learn
mailing list