Skip to content

Commit 8ad8f52

Browse files
committed
ifx interface bug
1 parent 117d4aa commit 8ad8f52

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/fpm/manifest/preprocess.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module fpm_manifest_preprocess
2020
implicit none
2121
private
2222

23-
public :: preprocess_config_t, new_preprocess_config, new_preprocessors, operator(==)
23+
public :: preprocess_config_t, new_preprocessors, operator(==)
2424

2525
!> Configuration meta data for a preprocessor
2626
type, extends(serializable_t) :: preprocess_config_t
@@ -173,7 +173,7 @@ subroutine new_preprocessors(preprocessors, table, error)
173173
call syntax_error(error, "Preprocessor "//list(iprep)%key//" must be a table entry")
174174
exit
175175
end if
176-
call new_preprocess_config(preprocessors(iprep), node, error)
176+
call preprocessors(iprep)%new(node, error)
177177
if (allocated(error)) exit
178178
end do
179179

test/fpm_test/test_manifest.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ subroutine test_preprocess_empty(error)
13711371
call new_table(table)
13721372
table%key = "example"
13731373

1374-
call new_preprocess_config(preprocess, table, error)
1374+
call preprocess%new(table, error)
13751375

13761376
end subroutine test_preprocess_empty
13771377

@@ -1391,7 +1391,7 @@ subroutine test_preprocess_wrongkey(error)
13911391
table%key = 'example'
13921392
call add_table(table, 'wrong-field', child, stat)
13931393

1394-
call new_preprocess_config(preprocess, table, error)
1394+
call preprocess%new(table, error)
13951395

13961396
end subroutine test_preprocess_wrongkey
13971397

0 commit comments

Comments
 (0)