parse_enumeration_member ();
calculate_common_prefix (ref common_prefix, old_current.get_cname ());
}
+ } else if (reader.name == "function") {
+ skip_element ();
} else {
// error
Report.error (get_current_src (), "unknown child element `%s' in `%s'".printf (reader.name, element_name));
parse_constructor ();
} else if (reader.name == "method") {
parse_method ("method");
+ } else if (reader.name == "function") {
+ skip_element ();
} else if (reader.name == "union") {
parse_union ();
} else {
parse_constructor ();
} else if (reader.name == "method") {
parse_method ("method");
+ } else if (reader.name == "function") {
+ skip_element ();
} else if (reader.name == "union") {
parse_union ();
} else {
parse_constructor ();
} else if (reader.name == "method") {
parse_method ("method");
+ } else if (reader.name == "function") {
+ skip_element ();
} else if (reader.name == "record") {
parse_record ();
} else {