Skip to content

Commit 188aa74

Browse files
committed
correct github changes
1 parent b2ae7db commit 188aa74

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

fpm/src/fpm_filesystem.f90

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module fpm_filesystem
88
private
99
public :: basename, canon_path, dirname, is_dir, join_path, number_of_rows, read_lines, list_files, env_variable, &
1010
mkdir, exists, get_temp_filename, windows_path, unix_path, getline, delete_file, to_fortran_name
11-
public :: fileopen, fileclose, filewrite, warn
11+
public :: fileopen, fileclose, filewrite, warnwrite
1212

1313
integer, parameter :: LINE_BUFFER_LEN = 1000
1414

@@ -570,15 +570,4 @@ pure function to_fortran_name(string) result(res)
570570
res = replace(string, SPECIAL_CHARACTERS, '_')
571571
end function to_fortran_name
572572

573-
pure function to_fortran_name(string) result(res)
574-
! Returns string with special characters replaced with an underscore.
575-
! For now, only a hyphen is treated as a special character, but this can be
576-
! expanded to other characters if needed.
577-
character(*), intent(in) :: string
578-
character(len(string)) :: res
579-
character, parameter :: SPECIAL_CHARACTERS(*) = ['-']
580-
res = replace(string, SPECIAL_CHARACTERS, '_')
581-
end function to_fortran_name
582-
583-
584573
end module fpm_filesystem

0 commit comments

Comments
 (0)