Global logging and verbosity control for the fpx Fortran preprocessor
This tiny but essential module that provides a single public logical flag verbose to enable or disable detailed diagnostic output throughout the entire fpx tool (parser, macro expansion, include handling, conditional compilation, etc.).
When verbose = .true., the preprocessor prints extensive debugging information such as:
This is extremely useful during development, testing, and when debugging complex macro or include issues in large Fortran projects.
The flag is intentionally public and module-level so it can be set from anywhere (command-line driver, interactive mode, or library user).
| logical, public verbose |
Master switch for verbose diagnostic output Default value is .false. (quiet mode). Set to .true. to get detailed step-by-step information about preprocessing actions. Safe to modify at any time ā the change takes effect immediately for all subsequent operations.
Definition at line 56 of file logging.f90.