equal
deleted
inserted
replaced
263 |
263 |
264 /* helper symbol for structure_declaration */ |
264 /* helper symbol for structure_declaration */ |
265 /* structure_declaration: STRUCT structure_element_declaration_list END_STRUCT */ |
265 /* structure_declaration: STRUCT structure_element_declaration_list END_STRUCT */ |
266 /* structure_element_declaration_list structure_element_declaration ';' */ |
266 /* structure_element_declaration_list structure_element_declaration ';' */ |
267 void *search_base_type_c::visit(structure_element_declaration_list_c *symbol) { |
267 void *search_base_type_c::visit(structure_element_declaration_list_c *symbol) { |
268 if (NULL == this->current_type_name) ERROR; |
|
269 return (void *)symbol; |
268 return (void *)symbol; |
270 } |
269 } |
271 |
270 |
272 /* structure_element_name ':' *_spec_init */ |
271 /* structure_element_name ':' *_spec_init */ |
273 void *search_base_type_c::visit(structure_element_declaration_c *symbol) {ERROR; return NULL;} /* should never get called... */ |
272 void *search_base_type_c::visit(structure_element_declaration_c *symbol) {ERROR; return NULL;} /* should never get called... */ |