equal
deleted
inserted
replaced
93 |
93 |
94 /* name_list ',' fb_name */ |
94 /* name_list ',' fb_name */ |
95 void *search_fb_instance_decl_c::visit(fb_name_list_c *symbol) { |
95 void *search_fb_instance_decl_c::visit(fb_name_list_c *symbol) { |
96 list_c *list = symbol; |
96 list_c *list = symbol; |
97 for(int i = 0; i < list->n; i++) { |
97 for(int i = 0; i < list->n; i++) { |
98 if (compare_identifiers(list->elements[i], search_name) == 0) |
98 if (compare_identifiers(list->get_element(i), search_name) == 0) |
99 /* by now, current_fb_declaration should be != NULL */ |
99 /* by now, current_fb_declaration should be != NULL */ |
100 return current_fb_type_name; |
100 return current_fb_type_name; |
101 } |
101 } |
102 return NULL; |
102 return NULL; |
103 } |
103 } |