Compiler: Fix issue with multidimensional array variable release.

Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=6100.
This commit is contained in:
Arkshine
2014-08-13 15:38:50 +02:00
parent 6978e2dc4c
commit 325a746d90
4 changed files with 15 additions and 2 deletions

View File

@ -4282,7 +4282,7 @@ static int testsymbols(symbol *root,int level,int testlabs,int testconst)
int entry=FALSE;
symbol *sym=root->next;
while (sym!=NULL && sym->compound>=level) {
while (sym != NULL && get_actual_compound(sym) >= level) {
switch (sym->ident) {
case iLABEL:
if (testlabs) {