Is there a way to make mcpp maintain the comments in macro definitions (and their substitutions), such that use of a macro defined as
#define M 1 /* number one */
gets replaced in the source by "1 /* number one */" instead of just "1"? I'd like to have this feature since my own C frontend could then use attributes of literals defined as macros. These attributes would be hidden in specially marked comments following the literal.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is there a way to make mcpp maintain the comments in macro definitions (and their substitutions), such that use of a macro defined as
#define M 1 /* number one */
gets replaced in the source by "1 /* number one */" instead of just "1"? I'd like to have this feature since my own C frontend could then use attributes of literals defined as macros. These attributes would be hidden in specially marked comments following the literal.
Thanks!