Documentation for module cp_parser_inpp_methods

a module to allow simple internal preprocessing in input files.

source: cp_parser_inpp_methods.F
Loading...

public Subroutines/Functions:

Restore older file status from stack after EOF on include file.
expand all ${VAR} or $VAR variable entries on the input string
process internal preprocessor directives like @INCLUDE, @SET, @IF/@ENDIF

SUBROUTINEinpp_end_include(inpp, input_file_name, input_line_number, input_unit)

Restore older file status from stack after EOF on include file.

Arguments:
TYPE(inpp_type),
POINTER
:: inpp ...
CHARACTER(*),
INTENT(inout)
:: input_file_name ...
INTEGER,
INTENT(inout)
:: input_line_number ...
INTEGER,
INTENT(inout)
:: input_unit ...

SUBROUTINEinpp_expand_variables(inpp, input_line, input_file_name, input_line_number)

expand all ${VAR} or $VAR variable entries on the input string

Arguments:
TYPE(inpp_type),
POINTER
:: inpp ...
CHARACTER(*),
INTENT(inout)
:: input_line ...
CHARACTER(*),
INTENT(inout)
:: input_file_name ...
INTEGER,
INTENT(in)
:: input_line_number ...

SUBROUTINEinpp_process_directive(inpp, input_line, input_file_name, input_line_number, input_unit)

process internal preprocessor directives like @INCLUDE, @SET, @IF/@ENDIF

Arguments:
TYPE(inpp_type),
POINTER
:: inpp ...
CHARACTER(*),
INTENT(inout)
:: input_line ...
CHARACTER(*),
INTENT(inout)
:: input_file_name ...
INTEGER,
INTENT(inout)
:: input_line_number ...
INTEGER,
INTENT(inout)
:: input_unit ...