True if a dot operator such as .and. or .true. starts at i.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | src |
source text |
||
| integer, | intent(in) | :: | i |
byte to look at |
logical function dotop_at(src, i) !! True if a dot operator such as `.and.` or `.true.` starts at `i`. character(len=*), intent(in) :: src !! source text integer, intent(in) :: i !! byte to look at integer :: j dotop_at = .false. if (peek(src, i) /= '.') return j = i + 1 do while (is_letter(peek(src, j))) j = j + 1 end do dotop_at = j > i + 1 .and. peek(src, j) == '.' end function dotop_at