stage3/fill_candidate_datatypes.cc
changeset 1042 6d1cdb7da363
parent 1041 56ebe2a31b5b
child 1047 34b733cb6641
equal deleted inserted replaced
1041:56ebe2a31b5b 1042:6d1cdb7da363
  1197 				flag_all_elem_ok = 0; // the necessary datatype for structure init element is not a candidate_datatype of that element
  1197 				flag_all_elem_ok = 0; // the necessary datatype for structure init element is not a candidate_datatype of that element
  1198 			}
  1198 			}
  1199 		}
  1199 		}
  1200 		if (flag_all_elem_ok) {
  1200 		if (flag_all_elem_ok) {
  1201 			add_datatype_to_candidate_list(symbol, symbol->parent->candidate_datatypes[i]);
  1201 			add_datatype_to_candidate_list(symbol, symbol->parent->candidate_datatypes[i]);
  1202 				fprintf(stderr, "ADDED DATAYPE type--->\n");
       
  1203 				debug_c::print(symbol);
       
  1204 		}
  1202 		}
  1205 	}
  1203 	}
  1206 	return NULL;
  1204 	return NULL;
  1207 }
  1205 }
  1208 
  1206