Просмотр исходного кода

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

f831d752 cmFortranParser: Skip #line directives that do not name files
Brad King 9 лет назад
Родитель
Сommit
ae2fa89f74
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmFortranParserImpl.cxx

+ 1 - 1
Source/cmFortranParserImpl.cxx

@@ -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);
     }