diff options
author | urbanjost <urbanjost@comcast.net> | 2021-09-05 12:50:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 18:50:44 +0200 |
commit | 5c908fc0157b9e3637a83dc532ab1bea4fd8b184 (patch) | |
tree | d1a533ae3d118b76da5f02ebd37131c98b13f919 /src/fpm_source_parsing.f90 | |
parent | 04da9a1ce99e8fce1abdb7eb9a2073f3188038ea (diff) | |
download | fpm-5c908fc0157b9e3637a83dc532ab1bea4fd8b184.tar.gz fpm-5c908fc0157b9e3637a83dc532ab1bea4fd8b184.zip |
Expand tabs in source file parsing (#521)
Diffstat (limited to 'src/fpm_source_parsing.f90')
-rw-r--r-- | src/fpm_source_parsing.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fpm_source_parsing.f90 b/src/fpm_source_parsing.f90 index 41137fb..17a99bc 100644 --- a/src/fpm_source_parsing.f90 +++ b/src/fpm_source_parsing.f90 @@ -22,7 +22,7 @@ use fpm_model, only: srcfile_t, & FPM_UNIT_SUBMODULE, FPM_UNIT_SUBPROGRAM, & FPM_UNIT_CSOURCE, FPM_UNIT_CHEADER, FPM_SCOPE_UNKNOWN, & FPM_SCOPE_LIB, FPM_SCOPE_DEP, FPM_SCOPE_APP, FPM_SCOPE_TEST -use fpm_filesystem, only: read_lines +use fpm_filesystem, only: read_lines, read_lines_expanded implicit none private @@ -84,7 +84,7 @@ function parse_f_source(f_filename,error) result(f_source) f_source%file_name = f_filename open(newunit=fh,file=f_filename,status='old') - file_lines = read_lines(fh) + file_lines = read_lines_expanded(fh) close(fh) ! for efficiency in parsing make a lowercase left-adjusted copy of the file |