Add a printout when ICG parses header file with no Trick header comment #281

Added the printout.
This commit is contained in:
Alex Lin 2016-08-19 10:21:43 -05:00
parent 79288d2b5b
commit 16af60313f

View File

@ -131,6 +131,9 @@ bool PrintAttributes::openIOFile(std::string header_file_name) {
open the file and write header information */
outfile.open(io_files[header_file_name].c_str()) ;
printer->printIOHeader(outfile, header_file_name) ;
if ( ! cs.hasTrickHeader(header_file_name) ) {
std::cout << "No Trick header comment found in " << header_file_name << "" << std::endl ;
}
std::cout << "Writing " << io_files[header_file_name] << "" << std::endl ;
// Get all of the ignored types from this file.
ignored_types[header_file_name] = cs.getIgnoreTypes(header_file_name) ;