diff options
author | Brad King <brad.king@kitware.com> | 2018-11-20 19:07:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-11-20 19:16:26 (GMT) |
commit | ead16adfc8dc387a59057717521976cbe7ae9067 (patch) | |
tree | 7da5cd30c2931d5831b8cc5e97219cca4219c8d5 /Tests/FortranModules | |
parent | 05a2ca7f87b9ae73f373e9967fde1ee5210e33af (diff) | |
download | CMake-ead16adfc8dc387a59057717521976cbe7ae9067.zip CMake-ead16adfc8dc387a59057717521976cbe7ae9067.tar.gz CMake-ead16adfc8dc387a59057717521976cbe7ae9067.tar.bz2 |
Fortran: Fix module dependency scanning with upper-case SUBMODULE
The lexical token expression added by commit v3.7.0-rc1~73^2~1 (Fortran:
Add support for submodule syntax in dependency scanning, 2016-09-05)
has a typo and does not match upper-case `B` in `SUBMODULE`. Fix it.
Fixes: #18595
Diffstat (limited to 'Tests/FortranModules')
-rw-r--r-- | Tests/FortranModules/Submodules/child.f90 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/FortranModules/Submodules/child.f90 b/Tests/FortranModules/Submodules/child.f90 index 838ab61..c314835 100644 --- a/Tests/FortranModules/Submodules/child.f90 +++ b/Tests/FortranModules/Submodules/child.f90 @@ -1,10 +1,10 @@ ! Test the notation for a 1st-generation direct ! descendant of a parent module -submodule ( parent ) child +SUBMODULE ( parent ) child implicit none -contains +CONTAINS module function child_function() result(child_stuff) logical :: child_stuff child_stuff=.true. end function -end submodule child +END SUBMODULE child |