From 70e6f4198c13c42e1640e4c80ada8f772b77042b Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Tue, 5 Feb 2019 16:41:44 -0500 Subject: Fortran 2008 submodule (#4874) --- docs/markdown/snippets/fortran_submodule.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/markdown/snippets/fortran_submodule.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/fortran_submodule.md b/docs/markdown/snippets/fortran_submodule.md new file mode 100644 index 0000000..9e4b9cc --- /dev/null +++ b/docs/markdown/snippets/fortran_submodule.md @@ -0,0 +1,12 @@ +## Fortran submodule support + +Initial support for Fortran ``submodule`` was added, where the submodule is in +the same or different file than the parent ``module``. +The submodule hierarchy specified in the source Fortran code `submodule` +statements are used by Meson to resolve source file dependencies. +For example: + +```fortran +submodule (ancestor:parent) child +``` + -- cgit v1.1