Merge pull request #245 from YashasSamaga/fix-i160
fixes inconsistencies with the tagof operator
This commit is contained in:
commit
a840b4a4c3
@ -1433,10 +1433,13 @@ static int hier2(value *lval)
|
||||
else if (level==sym->dim.array.level+1 && idxsym!=NULL)
|
||||
tag=idxsym->x.tags.index;
|
||||
} /* if */
|
||||
exporttag(tag);
|
||||
if (tag!=0) {
|
||||
exporttag(tag);
|
||||
tag |= PUBLICTAG;
|
||||
} /* if */
|
||||
clear_value(lval);
|
||||
lval->ident=iCONSTEXPR;
|
||||
lval->constval=tag | PUBLICTAG;
|
||||
lval->constval=tag;
|
||||
ldconst(lval->constval,sPRI);
|
||||
while (paranthese--)
|
||||
needtoken(')');
|
||||
|
Loading…
x
Reference in New Issue
Block a user