What    |Removed                     |Added
                 CC|                            |

------- Comment #1 from  2009-03-29 22:20 -------
It appears DMD 2.026 already works as you suggest; _1.0 is not recognized as a
valid float.

However, 1_._1 is, which doesn't seem ambiguous to me.  Once you're after the .
and in a FloatLiteral, any characters in [_0-9] should be eaten to finish the
float literal.

The spec just needs to be corrected with a new rule that defines 0,
NonZeroDigit, and then a repeating of those with DecimalDigits (Decimal is
almost fine except its handling of octals.)



Reply via email to