Dennis Walter - 2009-05-07

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!