absyntax_utils/search_varfb_instance_type.cc
changeset 326 e3fbf97d2021
parent 321 a96399ab57c2
child 367 6d94128ba5ad
equal deleted inserted replaced
325:80b412fc7f3c 326:e3fbf97d2021
   169 
   169 
   170   return res;
   170   return res;
   171 }
   171 }
   172 
   172 
   173 symbol_c *search_varfb_instance_type_c::get_type_id(symbol_c *variable_name) {
   173 symbol_c *search_varfb_instance_type_c::get_type_id(symbol_c *variable_name) {
       
   174   this->current_rawtype = NULL;
   174   symbol_c *rawtype = this->get_basetype_decl(variable_name);
   175   symbol_c *rawtype = this->get_basetype_decl(variable_name);
   175   if (this->current_rawtype != NULL)
   176   if (this->current_rawtype != NULL)
   176     return this->current_rawtype;
   177     return this->current_rawtype;
   177   else
   178   else
   178 	return rawtype;
   179 	return rawtype;