diff options
author | Brad King <brad.king@kitware.com> | 2008-01-08 04:08:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-08 04:08:42 (GMT) |
commit | e2e8993eb34adc3ac8e17cff58d45d9a57215de7 (patch) | |
tree | 58b151a339064fcce0197715f31d2401c7b05e46 /Source/cmDependsFortranParser.y | |
parent | 52eb0ccac76b0f4066af11d9ed4537204633548a (diff) | |
download | CMake-e2e8993eb34adc3ac8e17cff58d45d9a57215de7.zip CMake-e2e8993eb34adc3ac8e17cff58d45d9a57215de7.tar.gz CMake-e2e8993eb34adc3ac8e17cff58d45d9a57215de7.tar.bz2 |
BUG: Fix parsing of fortran include directives during dependency scanning. Previously only #include worked but not just include.
Diffstat (limited to 'Source/cmDependsFortranParser.y')
-rw-r--r-- | Source/cmDependsFortranParser.y | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmDependsFortranParser.y b/Source/cmDependsFortranParser.y index 13c5f32..b28786d 100644 --- a/Source/cmDependsFortranParser.y +++ b/Source/cmDependsFortranParser.y @@ -210,6 +210,12 @@ keyword_stmt: } | WORD STRING other EOSTMT /* Ignore */ { + if (cmDependsFortranParserIsKeyword($1, "include")) + { + cmDependsFortranParser* parser = + cmDependsFortran_yyget_extra(yyscanner); + cmDependsFortranParser_RuleInclude(parser, $2); + } free($1); free($2); } |