Commit 8c0e76d5 authored by Didier 'Ptitjes's avatar Didier 'Ptitjes Committed by Jürg Billeter

GIR parser: Parse class constants

Signed-off-by: default avatarDidier 'Ptitjes <ptitjes@free.fr>
parent 8e0d23f0
......@@ -529,6 +529,8 @@ public class Vala.GirParser : CodeVisitor {
cl.add_base_type (parse_type_from_name (reader.get_attribute ("name")));
next ();
end_element ("implements");
} else if (reader.name == "constant") {
cl.add_constant (parse_constant ());
} else if (reader.name == "field") {
fields.add (parse_field ());
} else if (reader.name == "property") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment