[Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 --- Comment #1 from Andrew Pinski --- >I found it when I tried to use the CPP as a general-purpose macro. Well it is not designed to be a general purpose macro processor. You might want to try something like m4 instead. https://en.wikipedia.org/wiki/M4_(computer_language) Or any other that are already general-purpose macro processors: https://en.wikipedia.org/wiki/General-purpose_macro_processor
[Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 --- Comment #2 from JohnDoe --- >Andrew Pinski Thank you for your reply. That's right. Therefore, I am currently using my own parser. Nobody needs fix, so you can close this topic. However, the cause of the bug seems to be a mistake in the pointer count as: while(++p) <-> while(p++) I already read the document: https://gcc.gnu.org/onlineDocscpp I have used a little M4 in Autotools. Certainly POSIX, portable, real macro, but minor. I tried to provide a mechanism to customize to ordinary users using the CPP.
[Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 JohnDoe changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED |RESOLVED --- Comment #3 from JohnDoe --- Close report.