Bug 576323 - Fix inner constant parsing Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Didier 'Ptitjes 2009-03-22 21:50:40 +01:00 committed by Colin Walters
parent 2898d23962
commit a515ab13b0

View File

@ -3051,10 +3051,10 @@ end_element_handler (GMarkupParseContext *context,
break; break;
if (require_end_element (context, ctx, "constant", element_name, error)) if (require_end_element (context, ctx, "constant", element_name, error))
{ {
pop_node (ctx);
switch (ctx->state) switch (ctx->state)
{ {
case STATE_NAMESPACE_CONSTANT: case STATE_NAMESPACE_CONSTANT:
pop_node (ctx);
state_switch (ctx, STATE_NAMESPACE); state_switch (ctx, STATE_NAMESPACE);
break; break;
case STATE_CLASS_CONSTANT: case STATE_CLASS_CONSTANT: