Mark symbols as read when using sizeof().
This commit is contained in:
parent
704e9579f7
commit
4c377f21f9
@ -1675,6 +1675,7 @@ static int hier2(value *lval)
|
||||
clear_value(lval);
|
||||
lval->ident=iCONSTEXPR;
|
||||
lval->constval=1; /* preset */
|
||||
markusage(sym, uREAD);
|
||||
if (sym->ident==iARRAY || sym->ident==iREFARRAY) {
|
||||
int level;
|
||||
symbol *idxsym=NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user