[GCC-XML] Updated gccxml DTD

Brad King brad.king at kitware.com
Tue Nov 16 07:14:44 EST 2004


Martin Piskernig wrote:
> One minor problem: In the xml.c file a destructor is parsed similar to a 
> constructor or a method (in function xml_output_function_decl). But 
> there is one difference: A destructor has no arguments so it would be 
> nice to add a check where you parse the arguments to skip that section 
> if the current tag is a destructor and close the <Destructor tag 
> with /> instead of creating an empty <Destructor ...></Destructor> tag. 
> 
> The DTD chokes on this currently so I told it (incorrectly) that a 
> destructor can have arguments.

I've just fixed this as of revision 1.94 of xml.c.  If you correct this 
in the DTD and send it to me privately (no need to clutter the list), 
I'll put it on the web page next to the other one.

Thanks,
-Brad



More information about the gccxml mailing list