[geany/geany] 9a8547: Fix GtkDoc header generation script to handle references inside typedef

Colomban Wendling git-noreply at xxxxx
Fri Mar 4 22:21:23 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 04 Mar 2016 22:21:23 UTC
Commit:      9a854751e1d5ae2be0d3714eae83111ded7c8a20
             https://github.com/geany/geany/commit/9a854751e1d5ae2be0d3714eae83111ded7c8a20

Log Message:
-----------
Fix GtkDoc header generation script to handle references inside typedef


Modified Paths:
--------------
    scripts/gen-api-gtkdoc.py

Modified: scripts/gen-api-gtkdoc.py
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -370,7 +370,7 @@ def main(args):
     for f in h_files:
         if not (f.find("compoundname").text.endswith("private.h")):
             for n0 in f.xpath(".//*/memberdef[@kind='typedef' and @prot='public']"):
-                if not (n0.find("type").text.startswith("enum")):
+                if not (DoxygenProcess.stringify_children(n0.find("type")).startswith("enum")):
                     e = DoxyTypedef.from_memberdef(n0)
                     typedefs.append(e)
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list