mirror of
https://github.com/nasa/trick.git
synced 2025-02-15 15:02:01 +00:00
Add a printout when ICG parses header file with no Trick header comment #281
Added the printout.
This commit is contained in:
parent
79288d2b5b
commit
16af60313f
@ -131,6 +131,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(io_files[header_file_name].c_str()) ;
|
outfile.open(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 " << io_files[header_file_name] << "[00m" << std::endl ;
|
std::cout << "[35mWriting " << 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) ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user