diagnostic_t Derived Type

type, public :: diagnostic_t

A problem with the block structure, such as an end that matches no open construct.


Components

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. 'if is not closed'


Source Code

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