stage3/fill_candidate_datatypes.cc
changeset 807 4d71292f8732
parent 806 f218434eeaf8
child 808 7a6b53d61ea3
equal deleted inserted replaced
806:f218434eeaf8 807:4d71292f8732
  1291 	symbol->fblock_body->accept(*this);
  1291 	symbol->fblock_body->accept(*this);
  1292 	delete search_varfb_instance_type;
  1292 	delete search_varfb_instance_type;
  1293 	search_varfb_instance_type = NULL;
  1293 	search_varfb_instance_type = NULL;
  1294 
  1294 
  1295 	local_enumerated_value_symtable.reset();
  1295 	local_enumerated_value_symtable.reset();
       
  1296 	
       
  1297 	/* The FB declaration itself may be used as a dataype! We now do the fill algorithm considering 
       
  1298 	 * function_block_declaration_c a data type declaration...
       
  1299 	 */
       
  1300 	// The next line is essentially equivalent to doing-->  symbol->candidate_datatypes.push_back(symbol);
       
  1301 	add_datatype_to_candidate_list(symbol, base_type(symbol));
  1296 	return NULL;
  1302 	return NULL;
  1297 }
  1303 }
  1298 
  1304 
  1299 /**********************/
  1305 /**********************/
  1300 /* B 1.5.3 - Programs */
  1306 /* B 1.5.3 - Programs */