This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

CPP outputs wrong number of newlines sometimes


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]