diff options
author | John S. Urban <urbanjost@comcast.net> | 2021-01-31 17:57:07 -0500 |
---|---|---|
committer | John S. Urban <urbanjost@comcast.net> | 2021-01-31 17:57:07 -0500 |
commit | 188aa747a7e009b3afb18e16c924ea8cfa37fa17 (patch) | |
tree | d7792e23cf0689bcd254895cab2cceaa94fe85e7 | |
parent | b2ae7db694017256517bacdae050cdf82b3cf73c (diff) | |
download | fpm-188aa747a7e009b3afb18e16c924ea8cfa37fa17.tar.gz fpm-188aa747a7e009b3afb18e16c924ea8cfa37fa17.zip |
correct github changes
-rw-r--r-- | fpm/src/fpm_filesystem.f90 | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/fpm/src/fpm_filesystem.f90 b/fpm/src/fpm_filesystem.f90 index ea3d9d3..5811cd4 100644 --- a/fpm/src/fpm_filesystem.f90 +++ b/fpm/src/fpm_filesystem.f90 @@ -8,7 +8,7 @@ use,intrinsic :: iso_fortran_env, only : stdin=>input_unit, stdout=>output_unit, private public :: basename, canon_path, dirname, is_dir, join_path, number_of_rows, read_lines, list_files, env_variable, & mkdir, exists, get_temp_filename, windows_path, unix_path, getline, delete_file, to_fortran_name - public :: fileopen, fileclose, filewrite, warn + public :: fileopen, fileclose, filewrite, warnwrite integer, parameter :: LINE_BUFFER_LEN = 1000 @@ -570,15 +570,4 @@ pure function to_fortran_name(string) result(res) res = replace(string, SPECIAL_CHARACTERS, '_') end function to_fortran_name -pure function to_fortran_name(string) result(res) - ! Returns string with special characters replaced with an underscore. - ! For now, only a hyphen is treated as a special character, but this can be - ! expanded to other characters if needed. - character(*), intent(in) :: string - character(len(string)) :: res - character, parameter :: SPECIAL_CHARACTERS(*) = ['-'] - res = replace(string, SPECIAL_CHARACTERS, '_') -end function to_fortran_name - - end module fpm_filesystem |