summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
authorJohan Bilien <jobi@via.ecp.fr>2008-10-12 21:38:21 +0000
committerJohan Bilien <jobi@src.gnome.org>2008-10-12 21:38:21 +0000
commit9279ac52f7f45a49fc5e114bca12c7e5e8af62f9 (patch)
treefcc8d7ae0b3b51b2e9360edca57af1e043f31b32 /giscanner/girparser.py
parentaf611155f89de0875bccad8e6d41b622e356dd6b (diff)
downloadgobject-introspection-9279ac52f7f45a49fc5e114bca12c7e5e8af62f9.tar.gz
actually add the parsed constant nodes
2008-10-12 Johan Bilien <jobi@via.ecp.fr> * giscanner/girparser.py: actually add the parsed constant nodes svn path=/trunk/; revision=698
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r--giscanner/girparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index 8b72ad77..c24d7bd9 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -113,7 +113,7 @@ class GIRParser(object):
_corens('bitfield')]:
self._parse_enumeration_bitfield(node)
elif node.tag in _corens('constant'):
- self._parse_constant(node)
+ self._add_node(self._parse_constant(node))
def _parse_alias(self, node):
return Alias(node.attrib['name'],