Hi,
I've just fixed a few bugs in the multidimensional array
implementation:
* gm2/gm2-compiler/M2Quads.mod: (AssignUnboundedNonVar),
(AssignUnboundedVar), (UnboundedNonVarLinkToArray),
(UnboundedVarLinkToArray) add extra parameter
indicating array symbol being indexed. Used additional
parameter to resolve high values on unbounded arrays given
a particular dimension.
Can now pass a two dimensional unbounded array to an ARRAY
OF BYTE and also can index the first dimension and pass the
designator as an ARRAY OF BYTE.
See testsuite/gm2/iso/run/pass/unbounded8.mod which now
works.
Refactored tests against BYTE, WORD, LOC with
IsGenericSystemType.
regards,
Gaius
_______________________________________________
gm2 mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/gm2