Skip to content

Commit af077f2

Browse files
committed
document arguments
1 parent 3c0bbcb commit af077f2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/fpm_source_parsing.f90

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,17 @@ subroutine parse_use_statement(f_filename,i,line,use_stmt,is_intrinsic,module_na
622622

623623
!> The line being parsed. MUST BE preprocessed with trim(adjustl()
624624
character(*), intent(in) :: line
625-
logical, intent(out) :: use_stmt,is_intrinsic
625+
626+
!> Does this line contain a `use` statement?
627+
logical, intent(out) :: use_stmt
628+
629+
!> Is the module in this statement intrinsic?
630+
logical, intent(out) :: is_intrinsic
631+
632+
!> used module name
626633
character(:), allocatable, intent(out) :: module_name
634+
635+
!> Error handling
627636
type(error_t), allocatable, intent(out) :: error
628637

629638
character(15), parameter :: INTRINSIC_NAMES(*) = &

0 commit comments

Comments
 (0)