Loading...
Searching...
No Matches
global_settings Type Reference

Definition

Global preprocessor configuration and shared runtime state All components of fpx read from and write to this single instance. Users can safely modify its public components at any time.

Examples

use fpx_global
call add(global%macros, macro('__LFORTRAN__','1'))
call add(global%macros, macro('__VERSION__'))
call add(global%macros, macro('__LFORTRAN_MAJOR__'))
call add(global%macros, macro('__LFORTRAN_MINOR__'))
call add(global%macros, macro('__LFORTRAN_PATCHLEVEL__'))
type(global_settings), public global
The single global instance used throughout fpx Initialized automatically with sensible defaults value...
Definition global.f90:92

Remarks

The global settings are accessed through the global variable global

Definition at line 77 of file global.f90.


The documentation for this type was generated from the following file:

Variables

type(macro), dimension(:), allocatable, public macros
 List of global macros.
 
type(string), dimension(:), allocatable, public undef
 List of undefined macros.
 
type(string), dimension(:), allocatable, public includedir
 List of include directories.
 
logical, public expand_macros = .true.
 Boolean controlling the macro expansion. The macros are expanded by default.
 
logical, public exlude_comments = .false.
 Boolean controlling the inclusion/exclusion of comments. The comments are kept by default.
 
logical, public implicit_continuation = .false.
 Boolean controlling implicit continuation line.
 
logical, public line_break = .false.
 Boolean controlling line break with double backslash.
 
logical, public extra_macros = .false.
 Boolean controlling extra (non-standard macro definitions: FILENAME, TIMESTAMP).