Loading...
Searching...
No Matches
macro.f90

Go to the source code of this file.

Data Types

interface  macro
 Representation of a preprocessor macro. More...
interface  add
 Append macros to a macro table. More...
interface  clear
 Remove all macro definitions from a table. More...
interface  get
 Retrieve a macro by index. More...
interface  insert
 Insert a macro at a specified position. More...
interface  remove
 Remove a macro definition from a table. More...
interface  size_of
 Return the number of stored macro definitions. More...
interface  read_unit
 Abstract interface to the top-level preprocessing routine. More...
interface  preprocess_line
 Abstract interface for line preprocessing callbacks. More...

Functions/Subroutines

character(:) function, allocatable, public expand_all (ctx, macros, stitch, has_extra, implicit_conti, dollar_insert)
 Expand a source line including predefined macros.
character(:) function, allocatable, public expand_macros (line, macros, stitch, implicit_conti, dollar_insert, ctx)
 Recursively expand user-defined macros.
logical function, public is_defined (name, macros, idx)
 Determine whether a macro is currently defined.