mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 16:39:37 +00:00
Add file name to error messages about invalid @trick_parse argument.
This commit is contained in:
@ -98,7 +98,7 @@ void CommentSaver::getICGField( std::string file_name ) {
|
|||||||
icg_no_comment_found[file_name] = false ;
|
icg_no_comment_found[file_name] = false ;
|
||||||
icg_no_found[file_name] = true ;
|
icg_no_found[file_name] = true ;
|
||||||
} else {
|
} else {
|
||||||
std::cout << "trick_parse directive found but no argument matched." << std::endl ;
|
std::cout << file_name << ": trick_parse directive found but no argument matched." << std::endl ;
|
||||||
std::cout << "Valid arguments are (everything|attributes|dependencies_only)" << std::endl ;
|
std::cout << "Valid arguments are (everything|attributes|dependencies_only)" << std::endl ;
|
||||||
exit(-1) ;
|
exit(-1) ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user