|
@@ -124,7 +124,7 @@ resulting in:
|
|
|
a], [n] is just a name given locally to the first dimension of [a].
|
|
a], [n] is just a name given locally to the first dimension of [a].
|
|
|
Therefore it is transformed into:
|
|
Therefore it is transformed into:
|
|
|
{v extern int _a_0_;
|
|
{v extern int _a_0_;
|
|
|
- int[_a_0_] a; v}
|
|
|
|
|
|
|
+ extern int[_a_0_] a; v}
|
|
|
Also, all occurrences of [n] in the rest of the module are replaced by
|
|
Also, all occurrences of [n] in the rest of the module are replaced by
|
|
|
[_a_0_]. For exported arrays, the generated dimension variables need to be
|
|
[_a_0_]. For exported arrays, the generated dimension variables need to be
|
|
|
exported as well.
|
|
exported as well.
|