Skip to content

Commit f3072a1

Browse files
committed
Update info_* end syntax for consistency
1 parent 1019e93 commit f3072a1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

fpm/src/fpm_model.f90

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ function info_build_target(t) result(s)
280280
end if
281281
!end type build_target_t
282282
s = s // ")"
283-
end function
283+
end function info_build_target
284284

285285
function info_build_target_short(t) result(s)
286286
! Prints a shortened representation of build_target_t
@@ -290,7 +290,7 @@ function info_build_target_short(t) result(s)
290290
s = "build_target_t("
291291
s = s // 'output_file="' // t%output_file // '"'
292292
s = s // ", ...)"
293-
end function
293+
end function info_build_target_short
294294

295295
function info_package(p) result(s)
296296
! Returns representation of package_t
@@ -391,7 +391,7 @@ function info_srcfile(source) result(s)
391391
s = s // ", digest=" // str(source%digest)
392392
!end type srcfile_t
393393
s = s // ")"
394-
end function
394+
end function info_srcfile
395395

396396
function info_srcfile_short(source) result(s)
397397
! Prints a shortened version of srcfile_t
@@ -401,7 +401,7 @@ function info_srcfile_short(source) result(s)
401401
s = "srcfile_t("
402402
s = s // 'file_name="' // source%file_name // '"'
403403
s = s // ", ...)"
404-
end function
404+
end function info_srcfile_short
405405

406406
function info_model(model) result(s)
407407
type(fpm_model_t), intent(in) :: model
@@ -448,12 +448,12 @@ function info_model(model) result(s)
448448
s = s // ", deps=dependency_tree_t(...)"
449449
!end type fpm_model_t
450450
s = s // ")"
451-
end function
451+
end function info_model
452452

453453
subroutine show_model(model)
454454
! Prints a human readable representation of the Model
455455
type(fpm_model_t), intent(in) :: model
456456
print *, info_model(model)
457-
end subroutine
457+
end subroutine show_model
458458

459459
end module fpm_model

0 commit comments

Comments
 (0)