static unowned CCodeAttribute get_ccode_attribute (CodeNode node) {
if (ccode_attribute_cache_index == null) {
ccode_attribute_cache_index = CodeNode.get_attribute_cache_index ();
+
+ // make sure static collections are initialized
+ CCodeBaseModule.init ();
}
unowned AttributeCache? attr = node.get_attribute_cache (ccode_attribute_cache_index);
predefined_marshal_set.add ("VOID:VARIANT");
predefined_marshal_set.add ("BOOLEAN:BOXED,BOXED");
+ init ();
+ }
+
+ public static void init () {
+ if (reserved_identifiers != null) {
+ return;
+ }
+
reserved_identifiers = new HashSet<string> (str_hash, str_equal);
// C99 keywords