return;
}
- else if (strcmp (element_name, "enum") == 0)
+ else if (strcmp (element_name, "enum") == 0 ||
+ strcmp (element_name, "flags") == 0)
{
const gchar *id;
if (COLLECT (STRING, "id", &id))
/* children of <enum> {{{3 */
- else if (strcmp (container, "enum") == 0)
+ else if (strcmp (container, "enum") == 0 ||
+ strcmp (container, "flags") == 0)
{
if (strcmp (element_name, "value") == 0)
{
state->schemalist_domain = NULL;
}
- else if (strcmp (element_name, "enum") == 0)
+ else if (strcmp (element_name, "enum") == 0 ||
+ strcmp (element_name, "flags") == 0)
enum_state_end (&state->enum_state, error);
else if (strcmp (element_name, "schema") == 0)