saved_stack_t Derived Type

type, private :: saved_stack_t

Scope stacks for one preprocessor conditional: as it was at the #if (restored at each #elif / #else) and as it was at the end of the first branch (used after #endif).


Inherits

type~~saved_stack_t~~InheritsGraph type~saved_stack_t saved_stack_t type~scope_t scope_t type~saved_stack_t->type~scope_t at_if, after_first

Components

Type Visibility Attributes Name Initial
type(scope_t), public, allocatable :: after_first(:)

the stack at the end of the first branch; unallocated until then

type(scope_t), public, allocatable :: at_if(:)

the stack at the #if


Source Code

type :: saved_stack_t
    !! Scope stacks for one preprocessor conditional: as it was at the `#if` (restored at each
    !! `#elif` / `#else`) and as it was at the end of the first branch (used after `#endif`).
    type(scope_t), allocatable :: at_if(:)        !! the stack at the `#if`
    type(scope_t), allocatable :: after_first(:)  !! the stack at the end of the first branch; unallocated until then
end type saved_stack_t