Commit 85ed8252 authored by claes's avatar claes

CastAttr flag set in attrref

parent 1e31efef
...@@ -318,6 +318,7 @@ mvol_AnameToAttribute ( ...@@ -318,6 +318,7 @@ mvol_AnameToAttribute (
ap->elem = ap->adef->Info.Elements; ap->elem = ap->adef->Info.Elements;
ap->flags.b.Indirect = ((ap->adef->Info.Flags & PWR_MASK_POINTER) != 0) && ap->flags.b.Indirect = ((ap->adef->Info.Flags & PWR_MASK_POINTER) != 0) &&
((ap->adef->Info.Flags & PWR_MASK_PRIVATE) == 0); ((ap->adef->Info.Flags & PWR_MASK_PRIVATE) == 0);
ap->flags.b.CastAttr = ((ap->adef->Info.Flags & PWR_MASK_CASTATTR) != 0);
if (ap->idx != ULONG_MAX) { if (ap->idx != ULONG_MAX) {
if (ap->idx > ap->adef->Info.Elements - 1) if (ap->idx > ap->adef->Info.Elements - 1)
pwr_Return(NULL, sts, GDH__SUBSCRIPT); pwr_Return(NULL, sts, GDH__SUBSCRIPT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment