[Issue 5114] Too many error messages with main(;

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 21 18:21:24 PST 2012


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



--- Comment #2 from bearophile_hugs at eml.cc 2012-01-21 18:21:23 PST ---
After the latest DMD updates (minutes ago), the program now gives me:


test.d(2): expression expected, not ';'
test.d(3): found '}' when expecting ','
test.d(3): found 'EOF' when expecting ')'
test.d(3): found 'EOF' when expecting ';' following statement
test.d(3): found 'EOF' when expecting '}' following compound statement


This is an improvement.

Note: among the errors I don't see the "premature end of file" error message
that's inside Walter change:

+
+            if (token.value == TOKeof)
+            {   error("premature end of file");
+                break;
+            }

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