Commit ae2fa89f authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'fortran-line-directives-no-dirs'

f831d752 cmFortranParser: Skip #line directives that do not name files
parents 7b3a5615 f831d752
......@@ -229,7 +229,7 @@ void cmFortranParser_RuleLineDirective(cmFortranParser* parser,
cmSystemTools::ConvertToUnixSlashes(included);
// Save the named file as included in the source.
if (cmSystemTools::FileExists(included))
if (cmSystemTools::FileExists(included, true))
{
parser->Info.Includes.insert(included);
}
......
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