diff options
author | Colin Walters <walters@verbum.org> | 2010-09-14 12:23:59 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-09-14 12:24:43 -0400 |
commit | 53b4da85dcb49d1fd3dc5e4033e476119653b214 (patch) | |
tree | 1fc438f858c5893b3d96be96c0d49495f8e05190 /giscanner/girparser.py | |
parent | 303255d484165f7d2e3e3ad298168da43edcbd2e (diff) | |
download | gobject-introspection-53b4da85dcb49d1fd3dc5e4033e476119653b214.tar.gz |
scanner: Parse annotations for typedefs
* Explicitly check for ast.Alias in annotation pass
* Add "generic" attribs handling for aliases like docs, introspectable=0
etc.
https://bugzilla.gnome.org/show_bug.cgi?id=629668
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r-- | giscanner/girparser.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py index ab2b29d6..582dcc06 100644 --- a/giscanner/girparser.py +++ b/giscanner/girparser.py @@ -179,6 +179,7 @@ class GIRParser(object): alias = ast.Alias(node.attrib['name'], typeval, node.attrib.get(_cns('type'))) + self._parse_generic_attribs(node, alias) self._namespace.append(alias) def _parse_generic_attribs(self, node, obj): |