summaryrefslogtreecommitdiff
path: root/doc/apibuild.py
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-05-06 11:40:56 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-05-06 11:40:56 +0000
commit99dd7636a44208a14bc71614120f8ef4b8123016 (patch)
tree6aadc2c1f08e1256c90ff581066c997e49ca6355 /doc/apibuild.py
parentdbfe05aff4d242e31fcd7621a4901a6fa10b988e (diff)
downloadlibxml2-99dd7636a44208a14bc71614120f8ef4b8123016.tar.gz
fixing bug #303068 increasing the nanoftp buffer. fixed __attribute()
* nanoftp.c: fixing bug #303068 increasing the nanoftp buffer. * doc/apibuild.py: fixed __attribute() parsing problem * doc/* testapi.c: regenerated the descriptions and docs. Daniel
Diffstat (limited to 'doc/apibuild.py')
-rwxr-xr-xdoc/apibuild.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 8851cc07..518c93ca 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -958,6 +958,14 @@ class CParser:
elif token[0] == 'preproc':
token = self.parsePreproc(token)
continue
+ elif token[0] == "name" and token[1] == "__const":
+ token = ("name", "const")
+ return token
+ elif token[0] == "name" and token[1] == "__attribute":
+ token = self.lexer.token()
+ while token != None and token[1] != ";":
+ token = self.lexer.token()
+ return token
elif token[0] == "name" and ignored_words.has_key(token[1]):
(n, info) = ignored_words[token[1]]
i = 0