mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 16:58:57 +00:00
Add a printout when ICG parses header file with no Trick header comment #281
Added the printout.
This commit is contained in:
@ -162,6 +162,9 @@ bool PrintAttributes::openIOFile(std::string header_file_name) {
|
|||||||
open the file and write header information */
|
open the file and write header information */
|
||||||
outfile.open(out_of_date_io_files[header_file_name].c_str()) ;
|
outfile.open(out_of_date_io_files[header_file_name].c_str()) ;
|
||||||
printer->printIOHeader(outfile, header_file_name) ;
|
printer->printIOHeader(outfile, header_file_name) ;
|
||||||
|
if ( ! cs.hasTrickHeader(header_file_name) ) {
|
||||||
|
std::cout << "[33mNo Trick header comment found in " << header_file_name << "[00m" << std::endl ;
|
||||||
|
}
|
||||||
std::cout << "[35mWriting " << out_of_date_io_files[header_file_name] << "[00m" << std::endl ;
|
std::cout << "[35mWriting " << out_of_date_io_files[header_file_name] << "[00m" << std::endl ;
|
||||||
// Get all of the ignored types from this file.
|
// Get all of the ignored types from this file.
|
||||||
ignored_types[header_file_name] = cs.getIgnoreTypes(header_file_name) ;
|
ignored_types[header_file_name] = cs.getIgnoreTypes(header_file_name) ;
|
||||||
|
Reference in New Issue
Block a user