mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
convert_swig does not find header file correctly if there is a comment on the same line
Added a line to remove trailing spaces after removing the quotes and comments from included files. refs #129
This commit is contained in:
parent
f5b30a4841
commit
a1bf1c31d4
@ -233,6 +233,7 @@ sub process_file() {
|
||||
if ( /^(\s*\#\s*include\s+)([^\n]+)/ ) {
|
||||
my ( $include ) = $1 ;
|
||||
my ( $file_name ) = $2 ;
|
||||
$file_name =~ s/\s+$// ;
|
||||
if ( $file_name !~ /\</ ) {
|
||||
if ( $file_name !~ /\"sim_services/ and $file_name !~ /\"trick_utils/ and $file_name !~ /\"trick\//) {
|
||||
my $exclude = 0 ;
|
||||
|
Loading…
Reference in New Issue
Block a user