A problem with the block structure, such as an end that matches no open construct.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | line | = | 0 |
source line of the statement concerned |
|
| character(len=:), | public, | allocatable | :: | message |
what is wrong, e.g. |
type, public :: diagnostic_t !! A problem with the block structure, such as an `end` that matches no open construct. integer :: line = 0 !! source line of the statement concerned character(len=:), allocatable :: message !! what is wrong, e.g. `'if is not closed'` end type diagnostic_t