src/ini_parser.f90: avoid procedure pointer
In this case a normal procedure dummy argument works as well.
This commit is contained in:
parent
69367ae981
commit
62c3045a7f
@ -284,11 +284,7 @@ contains
|
||||
type(gray_parameters), intent(out) :: params
|
||||
integer(kind(ini_error)), intent(out) :: err
|
||||
|
||||
! local variables
|
||||
procedure(property_handler), pointer :: p
|
||||
|
||||
p => ini_handler
|
||||
call parse_ini(filename, p, err)
|
||||
call parse_ini(filename, ini_handler, err)
|
||||
|
||||
contains
|
||||
|
||||
|
@ -63,9 +63,9 @@ contains
|
||||
implicit none
|
||||
|
||||
! function argument
|
||||
character(*), intent(in) :: filepath
|
||||
procedure(property_handler), pointer, intent(in) :: handler
|
||||
integer(kind(ini_error)), intent(out) :: error
|
||||
character(*), intent(in) :: filepath
|
||||
procedure(property_handler) :: handler
|
||||
integer(kind(ini_error)), intent(out) :: error
|
||||
|
||||
! local variables
|
||||
integer :: ini, sep, n
|
||||
|
Loading…
Reference in New Issue
Block a user