diff options
-rw-r--r-- | fpm/src/fpm_sources.f90 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fpm/src/fpm_sources.f90 b/fpm/src/fpm_sources.f90 index 88a9ffa..d65b9f3 100644 --- a/fpm/src/fpm_sources.f90 +++ b/fpm/src/fpm_sources.f90 @@ -222,6 +222,12 @@ function parse_f_source(f_filename) result(f_source) if (pass == 2) then + if (index(line_parts(2),':') > 0) then + + line_parts(2) = line_parts(2)(index(line_parts(2),':')+1:) + + end if + f_source%modules_used(n_use)%s = adjustl(trim(lower(line_parts(2)))) end if |