ascot diagnostics

A5090

Error: The macro ‘{name}’ expands recursively without end

The body of the macro uses the macro itself, directly or through other macros, so expanding it never ends. IRIS refuses to compile the line (MPP5649: Too many macros referenced on this line). Have the body name the macro it meant.

IRIS rejects the example.

ROUTINE Demo.MacroExpansionTooDeep
#define VERSION "1.0"
#define BANNER "Demo "_$$$BANNER
Main()
    Write $$$BANNER, ! //! A5090
    Quit

All diagnostics