Contents|Index|Previous|Next

Pitfalls and Subtleties of Macros

See the following documentation for discussion of some special rules that apply to macros and macro expansion, and point out certain cases in which the rules have counter-intuitive consequences with which you must be careful.

- Improperly Nested Constructs
- Unintended Grouping of Arithmetic
- Swallowing the Semicolon
- Duplication of Side Effects
- Self-Referential Macros
- Separate Expansion of Macro Arguments
- Cascaded Use of Macros