compiler message
Ant
duitoolkit at yahoo.ca
Wed Mar 29 11:06:08 PST 2006
linux dmd 0.150
void main()
{
charp[ foo = "foo";
int a;
int a;
int a;
int a;
int a;
int a;
int a;
int a;
int a;
int a;
}
br.d(15): found ';' when expecting ']'
br.d(15): found 'int' when expecting ';' following 'statement'
would be better is the compiler could mention line 3 like:
void main()
{
char[ foo = "foo";
int a;
int a;
int a;
int a;
int a;
int a;
int a;
int a;
int a;
int a;
}
br.d(3): found ';' when expecting ']'
br.d(4): no identifier for declarator char[foo = "foo"]
br.d(4): semicolon expected, not 'int'
More information about the Digitalmars-d-bugs
mailing list