Merge pull request #4650 from bojidar-bg/add-doctool-member

Save member information in docdata
This commit is contained in:
Rémi Verschelde 2016-05-13 16:33:57 +02:00
commit bd3dbe5fa3

View file

@ -989,6 +989,8 @@ Error DocData::save(const String& p_path) {
PropertyDoc &p=c.properties[i]; PropertyDoc &p=c.properties[i];
_write_string(f,2,"<member name=\""+p.name+"\" type=\""+p.type+"\">"); _write_string(f,2,"<member name=\""+p.name+"\" type=\""+p.type+"\">");
if (p.description!="")
_write_string(f,3,p.description.xml_escape());
_write_string(f,2,"</member>"); _write_string(f,2,"</member>");
} }