CPP outputs wrong number of newlines sometimes

Jamie Lokier egcs@tantalophile.demon.co.uk
Mon Sep 25 12:59:00 GMT 2000


Try this example on the current cpp:

"food
glorious
food
food
food"

"Hello"

The output is this:

"food
glorious
food
food
food"





"Hello"

The line number is not properly maintained when the multi-line string is
printed.  Something similar happens with multi-line comments when -C is
used.

-- Jamie


More information about the Gcc mailing list