float literals
BCS
ao at pathlink.com
Mon Dec 29 16:23:26 PST 2008
Reply to Ellery,
> BCS wrote:
>
>> Reply to Ellery,
>>
>>> From the grammar,
>>>
>>> FloatLiteral:
>>> Float
>>> Float Suffix
>>> Integer ImaginarySuffix
>>> Integer FloatSuffix ImaginarySuffix
>>> Integer RealSuffix ImaginarySuffix
>> I don't think "Integer" is referring to "IntegerLiteral". In fact, I
>> think it is undefined.
>>
> Umm.. Ok. I guess I'll just omit it from my grammar until it is
> defined...
>
> At least for RealSuffix it appeared very much to be referring to
> IntegerLiteral
>
As that is in lex.html I don't think it is part of the syntax but part of
the lexical stuff. OTOH I seem to recall that there are some issues with
FP literals vs slices ".."
More information about the Digitalmars-d-learn
mailing list