Classparser bugs

Jonas Nordin jonas.nordin at cenacle.se
Tue Jun 15 17:07:25 BST 1999


Den Tue, 15 Jun 1999 skrev du:
> Another bug.
> 
> static struct sockaddr_in make_addr_p(int port)
> {
>    struct sockaddr_in sin;
>    memset(&sin,0,sizeof(sin));
>    sin.sin_family = AF_INET;
>    sin.sin_port = port;
>    return sin;
> }
> 
> After parsing this function sockaddr_in added to Globals->Structs

I really need to take care of structs as part of a variable declaration. I
think all variables which have the "struct" keyword will be ignored.

/J



More information about the KDevelop mailing list