functionruns_command
logical function runs_command(s, path)
True if reading path runs an external preprocessor.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| s | type(settings_t) | in | the settings | |
| path | character(len=*) | in | the file |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| runs_command | logical |
Calls
Source
Show the code
logical function runs_command(s, path)
type(settings_t), intent(in) :: s !! the settings
character(len=*), intent(in) :: path !! the file
runs_command = s%preprocess .and. contains_string(s%fpp_extensions, extension_of(path)) .and. &
.not. needs_fypp(s, path)
end function runs_command