Mail Archives: djgpp/1999/06/16/15:42:48
In article <3767F65C DOT B3E58FDC AT americasm01 DOT nt DOT com> you wrote:
> Is there any way to write a #define who's expansion covers more than one
> line? I already know how to make the definition span-lines, but when
> expanded, they are cramped on a single line.
No way. OTOH, why would anyone care? C preprocessor output is not
meant to be read by anything but the C compiler, so why bother about
long lines instead of several short ones?
The only parts of the C programming language where a newline is
required are preprocessing commands, anyway. With the preprocessor
itself being a one-pass operation, you cannot generate preprocessor
commands by macro-expansion, either, so there's no need for the
preprocessor to be able to generate newlines.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -