Might it be useful to permit (i.e., interpret/discard) escaped newlines in macros such as @enum
? I know one can already use begin
/end
, but if the enum members are just a bit over a single line, it might be useful to write, say,
@enum Lorem ipsum dolor sit amet consetetur sadipscing elitr sed diam nonumy \
eirmod tempor invidunt ut labore et dolore
rather than
@enum Lorem begin ipsum; dolor; sit; amet; consetetur; sadipscing; elitr; sed;
diam; nonumy; eirmod; tempor; invidunt; ut; labore; et; dolore end
or, I suppose,
@enum(Lorem, ipsum, dolor, sit, amet, consetetur, sadipscing, elitr, sed,
diam, nonumy, eirmod, tempor, invidunt, ut, labore, et, dolore)
Perhaps this is even a convention that might be useful in other single-line macros (though I can’t think of any obvious candidates off the top of my head) – just as an analogy to ordinary single-line statements/expressions?