From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 218303858D1E; Fri, 30 Sep 2022 02:35:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 218303858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664505333; bh=699MITSA8pqteFJUup1uU/HNHAqGGQl3C3WPf25WVJg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EaSkDS/AB5OFSor5W3ZZ4q7XsBXgOEvh+Rcr6JnVUs3Fm6KIeDDt1105ct4C4u/SO CpSGGOmCrdAUEfuzMo1j9XvN0paaK6lXkLrmDzEMdDJ4HKwoUD5sfz8Ho+736HRLlz keWKZTIfhhsr+RnHM1/M51PQesyxijB65oxphVaQ= From: "wcs84014 at xcoxc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment Date: Fri, 30 Sep 2022 02:35:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 11.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcs84014 at xcoxc dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107089 --- Comment #2 from JohnDoe --- >Andrew Pinski=20 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 us= ing the CPP.=