diff -r c55b02ca2342 -r cece842c7417 stage4/generate_c/generate_c_inlinefcall.cc --- a/stage4/generate_c/generate_c_inlinefcall.cc Tue Dec 15 11:18:19 2009 +0100 +++ b/stage4/generate_c/generate_c_inlinefcall.cc Tue Dec 15 16:29:44 2009 +0100 @@ -303,13 +303,7 @@ symbol->field_selector->accept(*this); break; default: - if (this->is_variable_prefix_null()) { - symbol->record_variable->accept(*this); - s4o.print("."); - symbol->field_selector->accept(*this); - } - else - print_getter(symbol); + print_getter(symbol); break; } return NULL; @@ -326,21 +320,13 @@ current_array_type = search_varfb_instance_type->get_rawtype(symbol->subscripted_variable); symbol->subscripted_variable->accept(*this); if (current_array_type != NULL) { + s4o.print(".table"); symbol->subscript_list->accept(*this); current_array_type = NULL; } break; default: - if (this->is_variable_prefix_null()) { - current_array_type = search_varfb_instance_type->get_rawtype(symbol->subscripted_variable); - symbol->subscripted_variable->accept(*this); - if (current_array_type != NULL) { - symbol->subscript_list->accept(*this); - current_array_type = NULL; - } - } - else - print_getter(symbol); + print_getter(symbol); break; } return NULL;