Synopsis: | Only perform token pasting with the token pasting operator (##). |
Language: | C |
Severity Level: | 8 |
Category: | Preprocessing Directives |
Description: |
Justification ANSI C provides the ## operator as a portable alternative to implementation specific forms of token pasting. Example #define fullname(comp, func) comp ## func /* RIGHT */ #define fullname(comp, func) comp/**/func /* WRONG */ fullname(COMPONENTX_, set_shape) |