Fixed a bug about arrays

This commit is contained in:
2007-10-23 16:06:17 +00:00
parent cb68f7e0b7
commit bc5bb95dba
2 changed files with 25 additions and 14 deletions

View File

@ -312,7 +312,7 @@ no_name:;
if(bpt!=NULL) {
if(strchr(bpt,']')!=NULL)
*strchr(bpt,']')= 0;
sscanf(bpt,"%lu",&(o->array_size));
sscanf(bpt+1,"%lu",&(o->array_size));
*bpt= 0;
}
if(Sregex_string(&(o->name),cpt,0)<=0)