[Issue 8174] New: short floating point literals not catched in the parser

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 31 08:28:18 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8174

           Summary: short floating point literals not catched in the
                    parser
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at gmx.de> 2012-05-31 17:30:02 CEST ---
void main()
{
    float f = 1.f;
}

$ dmd test.d
test.d(3): Error: undefined identifier 'f'

This should be catched in the parser with a proper error message.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list