summaryrefslogtreecommitdiff
path: root/girepository/girparser.c
diff options
context:
space:
mode:
authorDidier 'Ptitjes <ptitjes@free.fr>2009-03-22 21:50:40 +0100
committerColin Walters <walters@verbum.org>2009-03-24 15:21:53 -0400
commit0fc035242ec0eccf2d9c9c163fc6da8da2850cfa (patch)
tree20ec39e2ea8476d673c30634101a9afdac7cb143 /girepository/girparser.c
parent7ba8ad03560307350786a44b8279324448bfbe66 (diff)
downloadgobject-introspection-0fc035242ec0eccf2d9c9c163fc6da8da2850cfa.tar.gz
Bug 576323 - Fix inner constant parsing Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'girepository/girparser.c')
-rw-r--r--girepository/girparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/girepository/girparser.c b/girepository/girparser.c
index 7727d230..02fa0372 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -3051,10 +3051,10 @@ end_element_handler (GMarkupParseContext *context,
break;
if (require_end_element (context, ctx, "constant", element_name, error))
{
- pop_node (ctx);
switch (ctx->state)
{
case STATE_NAMESPACE_CONSTANT:
+ pop_node (ctx);
state_switch (ctx, STATE_NAMESPACE);
break;
case STATE_CLASS_CONSTANT: