Dale Johannesen wrote:
Yes. From the user's point of view, the best thing appears to be treating backslashes in C++ comments as part of the comment, regardless of what follows them; that seems to follow the principle of least surprise. That's not standard conforming, and therefore I'm not advocating it for gcc, but it probably wouldn't break anything outside compiler testsuites. Maybe this treatment should be made standard conforming...?
I agree this would be a far preferable definition, allowing comments to be continued with a \ seems a truly silly feature.