Tokens that would run together with a following word: names, numbers and BOZ literals.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | kind |
token kind ( |
elemental logical function is_word(kind) !! Tokens that would run together with a following word: names, numbers and BOZ literals. integer, intent(in) :: kind !! token kind (`TK_*`) is_word = kind == TK_NAME .or. kind == TK_INT .or. kind == TK_REAL .or. kind == TK_BOZ end function is_word