diff options
author | Isuru Fernando <isuruf@gmail.com> | 2020-11-19 17:33:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-24 12:39:47 (GMT) |
commit | fe3f846e1b88341529686ee7dd334b01fe9e705e (patch) | |
tree | 95a4facd2432b9eb74d4039cd467d364d3a0ab2e /Source/LexerParser/cmFortranParser.y | |
parent | 66488d4eb31d372d8e06ce78e5f49a7cc43974ee (diff) | |
download | CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.zip CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.tar.gz CMake-fe3f846e1b88341529686ee7dd334b01fe9e705e.tar.bz2 |
Makefiles: Add support for building Fortran intrinsics
Fixes: #21463
Diffstat (limited to 'Source/LexerParser/cmFortranParser.y')
-rw-r--r-- | Source/LexerParser/cmFortranParser.y | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/LexerParser/cmFortranParser.y b/Source/LexerParser/cmFortranParser.y index a3e1c24..8ef1903 100644 --- a/Source/LexerParser/cmFortranParser.y +++ b/Source/LexerParser/cmFortranParser.y @@ -151,6 +151,10 @@ stmt: cmFortranParser* parser = cmFortran_yyget_extra(yyscanner); cmFortranParser_RuleUse(parser, $5); } + if (cmsysString_strcasecmp($3, "intrinsic") == 0) { + cmFortranParser* parser = cmFortran_yyget_extra(yyscanner); + cmFortranParser_RuleUseIntrinsic(parser, $5); + } free($3); free($5); } |