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

GIR parser: Mark constants as external to not require initializer

Signed-off-by: default avatarDidier 'Ptitjes <ptitjes@free.fr>
parent a1472539
......@@ -928,6 +928,7 @@ public class Vala.GirParser : CodeVisitor {
var type = parse_type ();
var c = new Constant (name, type, null, get_current_src ());
c.access = SymbolAccessibility.PUBLIC;
c.external = true;
end_element ("constant");
return c;
}
......
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