-
Sven/Sarah Barth authored
* ptype.pas, read_named_type, array_dec: allow border checks if both range elements are orddefs; for normal arrays using e.g. "0..15" this will allow to declare the correct amount of elements in the initialization while for generic arrays (e.g. "0..SizeOf(T)") this will mean that only one element can be declared, which was already the case before this change (maybe in such cases a constant initialization should be forbidden in the future...) + added test git-svn-id: trunk@21690 -
f9211271