diff options
author | David Cole <david.cole@kitware.com> | 2012-05-24 17:38:41 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-05-24 17:38:41 (GMT) |
commit | bc936c1cd5bfb48d7cc3da8a00f7302580ffee10 (patch) | |
tree | 8725e9c6b75e2a52b38776e77aea40683f4d61f7 /Source/cmDependsFortranParser.y | |
parent | 68d177432795f0113af9cb9efd2f428705a996a2 (diff) | |
parent | ad2107903a28e8e41b3170ee6089f7c080c49614 (diff) | |
download | CMake-bc936c1cd5bfb48d7cc3da8a00f7302580ffee10.zip CMake-bc936c1cd5bfb48d7cc3da8a00f7302580ffee10.tar.gz CMake-bc936c1cd5bfb48d7cc3da8a00f7302580ffee10.tar.bz2 |
Merge topic 'fortran-include-angle'
ad21079 Fortran: Follow <>-style includes (#13239)
Diffstat (limited to 'Source/cmDependsFortranParser.y')
-rw-r--r-- | Source/cmDependsFortranParser.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmDependsFortranParser.y b/Source/cmDependsFortranParser.y index 00d3327..5681d69 100644 --- a/Source/cmDependsFortranParser.y +++ b/Source/cmDependsFortranParser.y @@ -102,6 +102,7 @@ static bool cmDependsFortranParserIsKeyword(const char* word, %token <string> CPP_TOENDL %token <number> UNTERMINATED_STRING %token <string> STRING WORD +%token <string> CPP_INCLUDE_ANGLE /*-------------------------------------------------------------------------*/ /* grammar */ @@ -192,6 +193,13 @@ keyword_stmt: free($1); free($2); } +| CPP_INCLUDE_ANGLE other EOSTMT + { + cmDependsFortranParser* parser = + cmDependsFortran_yyget_extra(yyscanner); + cmDependsFortranParser_RuleInclude(parser, $1); + free($1); + } | include STRING other EOSTMT { cmDependsFortranParser* parser = |