Lexer state for one source text.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | glue_next | = | .false. |
the next code token continues the previous one |
|
| logical, | public | :: | glue_pending | = | .false. |
the previous line ended with a code character directly followed by |
|
| integer, | public | :: | line | = | 1 |
current line |
|
| logical, | public | :: | line_start | = | .true. |
only blanks so far on the current line |
type :: lexer_t !! Lexer state for one source text. integer :: line = 1 !! current line logical :: line_start = .true. !! only blanks so far on the current line logical :: glue_pending = .false. !! the previous line ended with a code character directly followed by `&` logical :: glue_next = .false. !! the next code token continues the previous one end type lexer_t