mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-23 17:33:50 +03:00
doc: Remove broken struct field description
This commit is contained in:
parent
33a1f8978d
commit
fb2b9cdabf
@ -1161,10 +1161,8 @@ class CParser:
|
||||
fname = token[1]
|
||||
token = self.token()
|
||||
if token[0] == "sep" and token[1] == ";":
|
||||
self.comment = None
|
||||
token = self.token()
|
||||
fields.append((self.type, fname, self.comment))
|
||||
self.comment = None
|
||||
fields.append((self.type, fname))
|
||||
else:
|
||||
self.error("parseStruct: expecting ;", token)
|
||||
elif token != None and token[0] == "sep" and token[1] == "{":
|
||||
@ -1714,12 +1712,7 @@ class docBuilder:
|
||||
output.write(">\n");
|
||||
try:
|
||||
for field in self.idx.structs[name].info:
|
||||
desc = field[2]
|
||||
if desc == None:
|
||||
desc = ''
|
||||
else:
|
||||
desc = escape(desc)
|
||||
output.write(" <field name='%s' type='%s' info='%s'/>\n" % (field[1] , field[0], desc))
|
||||
output.write(" <field name='%s' type='%s'/>\n" % (field[1] , field[0]))
|
||||
except:
|
||||
print("Failed to serialize struct %s" % (name))
|
||||
output.write(" </struct>\n")
|
||||
|
1369
doc/libxml2-api.xml
1369
doc/libxml2-api.xml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user