March 29, 2006 compiler message | ||||
---|---|---|---|---|
| ||||
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' |
Copyright © 1999-2021 by the D Language Foundation