http://d.puremagic.com/issues/show_bug.cgi?id=5114
Summary: Too many error messages with main(; Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: minor Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-10-24 18:29:24 PDT --- This is a wrong program: void main() { main(; } But DMD 2.049 shows too many errors: test.d(2): expression expected, not ';' test.d(3): found '}' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' test.d(3): found 'EOF' when expecting ',' test.d(3): expression expected, not 'EOF' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------