Commit b6323b0f authored by William Gropp's avatar William Gropp Committed by Wesley Bland
Browse files

Check for endif in f77tof90 to avoid false warning


Signed-off-by: default avatarWesley Bland <wbland@anl.gov>
parent b32189fc
......@@ -332,7 +332,7 @@ sub ConvertMakefile {
if (not m/^\s*#/) {
while (m/\b(\w+f)\b/g) {
my $word = $1;
next if $word eq "if" or $word eq "rf"; # filter out some noise
next if $word eq "if" or $word eq "rf" or $word eq "endif"; # filter out some noise
if (-e "$indir/${word}.f" or
0 == system(qq(grep 'TESTDEFN filename="${word}\\.f"' '$indir/ioharness.defn' >/dev/null 2>&1)))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment