Skip to content

Commit

Permalink
Add fix for missing abstract interface parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Pribec committed Sep 22, 2024
1 parent 4bd3c81 commit f6017b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fpm_source_parsing.f90
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ function parse_f_source(f_filename,error) result(f_source)
end if

! Detect beginning of interface block
if (index(file_lines_lower(i)%s,'interface') == 1) then
if (index(file_lines_lower(i)%s,'interface') == 1 &
.or. parse_sequence(file_lines_lower(i)%s,'abstract','interface')) then

inside_interface = .true.
cycle
Expand Down

0 comments on commit f6017b2

Please sign in to comment.