Added support for resolving dimensions of multi-dimensional unsized arrays from their initializer exprerssions (previously, only the first dimension would be resolved.) Added checks to make sure that no unsized array dimensions remain after doing this (except for the first dimensision of array parameters to functions.)
5 lines
130 B
Plaintext
5 lines
130 B
Plaintext
// Illegal to declare a global variable with unsized array dimensions that aren't set with an initializer expression
|
|
|
|
int a[][];
|
|
|