Brad King b5ac8b8aa7 Fortran: Add support for submodule syntax in dependency scanning
Fortran 2008 [1] adds support for a new syntax related to modules:

    submodule ( ParentModule ) SubModule
    submodule ( ParentModule : SubModule ) NestedSubModule

Both of these mean that the current source file requires the module
`ParentModule` to be available if it is not provided in the current
file.  Teach our Fortran dependency scanner to parse this syntax to
extract this relationship.  For now simply tolerate the nested submodule
case and extract only the dependency it expresses on the main module.
Further work will be needed to extract dependencies among nested
submodules.

[1] http://fortranwiki.org/fortran/show/Fortran+2008

Closes: #16234
2016-09-20 09:18:47 -04:00
..
2016-09-20 08:40:52 -04:00
2016-09-16 23:01:40 +02:00
2015-12-18 10:02:07 -05:00
2015-12-18 10:02:07 -05:00
2016-09-20 00:01:06 -04:00
2016-09-02 09:18:59 -04:00
2016-09-02 09:18:59 -04:00
2016-09-20 08:32:26 -04:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-09-16 22:45:24 +02:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-09-16 22:52:02 +02:00
2016-09-16 22:45:24 +02:00
2016-09-05 23:18:05 +02:00
2016-09-16 22:45:24 +02:00
2016-06-28 09:02:26 -04:00
2016-06-27 23:24:38 +02:00
2016-09-16 22:45:24 +02:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-09-16 22:45:24 +02:00
2016-06-28 09:02:26 -04:00
2016-09-16 23:01:40 +02:00
2016-06-28 09:02:26 -04:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-09-16 22:45:24 +02:00
2016-06-27 23:24:38 +02:00
2016-09-16 23:01:40 +02:00
2016-06-28 09:02:26 -04:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-06-28 09:02:26 -04:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-09-16 22:45:24 +02:00
2016-06-27 23:24:38 +02:00
2016-06-28 09:02:26 -04:00
2016-06-28 09:02:26 -04:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-09-15 08:46:45 -04:00
2016-09-13 11:52:28 -04:00
2016-06-28 09:02:26 -04:00
2016-09-16 22:45:24 +02:00
2016-06-28 09:02:26 -04:00
2016-08-18 20:36:29 +02:00
2016-09-16 22:45:24 +02:00
2016-09-05 23:18:05 +02:00