Next: Tokens, Previous: FWEB macros, Up: FWEB macros [Contents][Index]
- Fundamentally, FWEB macros follow the syntax for ANSI C. There are also a few extensions, notably the possibility of variable (optional) arguments (see Variable arguments) and some additional preprocessing tokens (see Tokens).
- Adjacent strings in macro text are automatically concatenated.
EXTENSIONS of ANSI-C MACRO SYNTAX | ||
---|---|---|
• Variable arguments | FWEB macros with variable arguments. | |
• Recursion | FWEB macros may be recursive (proceed at your own risk). | |
• Macro protection | Protecting FWEB macros against redefinition. | |