[Issue 6368] New: Too many error messages for a missing );

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 23 05:31:17 PDT 2011


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

           Summary: Too many error messages for a missing );
           Product: D
           Version: unspecified
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2011-07-23 05:31:17 PDT ---
A wrong program that lacks a closing );


void main() {
    foo(
}


In my opinion it generates many too many error messages, DMD 2.054:

test.d(3): expression expected, not '}'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'
test.d(4): found 'EOF' when expecting ','
test.d(4): expression expected, not 'EOF'

-- 
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