absyntax_utils/search_base_type.cc
changeset 320 4df13059b982
parent 279 c0453b7f99df
child 377 60b012b7793f
equal deleted inserted replaced
319:1669977e84f4 320:4df13059b982
   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... */