[Issue 8684] Missing ')' in argument list creates a sea of error messages

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 12 14:32:32 PDT 2012


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



--- Comment #2 from bearophile_hugs at eml.cc 2012-10-12 14:32:31 PDT ---
---------------------------------

void main() {
   int value = 0;

   while (value < 10) do {
     // do something
     value++;
   }
}


temp.d(8): Error: found '}' when expecting 'while'
temp.d(8): Error: found 'EOF' when expecting '('
temp.d(8): Error: expression expected, not 'EOF'
temp.d(8): Error: found 'EOF' when expecting ')'
temp.d(8): Deprecation: do-while statement without terminating ; is deprecated
temp.d(8): Error: found 'EOF' when expecting '}' following compound statement

---------------------------------

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