diff --git a/sourcepawn/compiler/sc3.cpp b/sourcepawn/compiler/sc3.cpp index 1d70fe67..1a067b6b 100644 --- a/sourcepawn/compiler/sc3.cpp +++ b/sourcepawn/compiler/sc3.cpp @@ -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;