https://bugzilla.gnome.org/show_bug.cgi?id=712694
checked = true;
if (get_char () < 128) {
- value_type = new IntegerType ((Struct) context.analyzer.root_symbol.scope.lookup ("char"));
+ value_type = new IntegerType ((Struct) context.root.scope.lookup ("char"));
} else {
- value_type = new IntegerType ((Struct) context.analyzer.root_symbol.scope.lookup ("unichar"));
+ value_type = new IntegerType ((Struct) context.root.scope.lookup ("unichar"));
}
return !error;
}
}
- var st = (Struct) context.analyzer.root_symbol.scope.lookup (type_name);
+ var st = (Struct) context.root.scope.lookup (type_name);
// ensure attributes are already processed
st.check (context);
symbol_reference = null;
if (qualified) {
- base_symbol = context.analyzer.root_symbol;
- symbol_reference = context.analyzer.root_symbol.scope.lookup (member_name);
+ base_symbol = context.root;
+ symbol_reference = base_symbol.scope.lookup (member_name);
} else if (inner == null) {
if (member_name == "this") {
if (!context.analyzer.is_in_instance_method ()) {
checked = true;
- var st = (Struct) context.analyzer.root_symbol.scope.lookup (get_type_name ());
+ var st = (Struct) context.root.scope.lookup (get_type_name ());
// ensure attributes are already processed
st.check (context);