Corrected a bug about inclusion of cevap*.h files
This commit is contained in:
parent
df9e6eac0b
commit
4d78a15cbd
@ -464,10 +464,14 @@ int flag;
|
|||||||
/* already included ? */
|
/* already included ? */
|
||||||
if(strcmp(dtype,cgen->structname)==0)
|
if(strcmp(dtype,cgen->structname)==0)
|
||||||
continue;
|
continue;
|
||||||
for(hct= cgen->elements; hct!=NULL && hct!=ct; hct= hct->next)
|
for(hct= cgen->elements; hct!=NULL && hct!=ct; hct= hct->next) {
|
||||||
if(strcmp(ct->dtype,dtype)==0)
|
if(hct->is_comment)
|
||||||
|
continue;
|
||||||
|
if(hct->dtype!=NULL)
|
||||||
|
if(strcmp(hct->dtype,dtype)==0)
|
||||||
break;
|
break;
|
||||||
if(hct!=ct)
|
}
|
||||||
|
if(hct!=ct && hct!=NULL)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if(is_struct && (isupper(dtype[0]) && isupper(dtype[strlen(dtype)-1]))) {
|
if(is_struct && (isupper(dtype[0]) && isupper(dtype[strlen(dtype)-1]))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user