fixed a corruption bug where idxtags were not properly set
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40540
This commit is contained in:
parent
8d412faf5c
commit
fd32916b6e
@ -2257,7 +2257,9 @@ static int declloc(int fstatic)
|
|||||||
pushreg(sPRI);
|
pushreg(sPRI);
|
||||||
}
|
}
|
||||||
if (matchtoken(']')) {
|
if (matchtoken(']')) {
|
||||||
dim[numdim++] = 0;
|
idxtag[numdim] = 0;
|
||||||
|
dim[numdim] = 0;
|
||||||
|
numdim++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
dim_ident = doexpr2(TRUE,FALSE,FALSE,FALSE,&idxtag[numdim],&dim_sym,0,&dim_val);
|
dim_ident = doexpr2(TRUE,FALSE,FALSE,FALSE,&idxtag[numdim],&dim_sym,0,&dim_val);
|
||||||
|
Loading…
Reference in New Issue
Block a user