fdoc

functionneeds_fypp

logical function needs_fypp(s, path)

True if path goes through Fypp, which is Python, so that fdoc_fypp takes its place.

Arguments

NameTypeIntentAttributesDescription
stype(settings_t)in

the settings

pathcharacter(len=*)in

the file

Result

NameTypeAttributesDescription
needs_fypplogical

Calls

Source

Show the code
logical function needs_fypp(s, path)
    type(settings_t), intent(in) :: s       !! the settings
    character(len=*), intent(in) :: path    !! the file
    needs_fypp = s%preprocess .and. starts_word(s%preprocessor, 'fypp') .and. &
                 contains_string(s%fpp_extensions, extension_of(path))
end function needs_fypp

Graphs

Calls

Called by