From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF7BF3858C52; Tue, 23 May 2023 18:05:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF7BF3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684865123; bh=LF3ukWeO0/sXUesrcCYAbd9Tv8M1j7Mi+7X539zvjYQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bZbRBBY4Jck8kXhwKrJfLrgIiFmvExXi9e6amlqFuneWh8HpaRbZwfCZSkVUWWgK8 WhrBiuKfttEhoEfqRyzheMkCyPw259rVFDSM+gHXx5AwMx23g47xq/Ft9JOcIcxLIU 6J66XgXyLwMNcf+D6NcF6pr99ZiUo2f892ji8YQo= From: "adam at wozniakconsulting dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTA5OTM2XSBlcnJvcjogZXh0ZW5kZWQgY2hhcmFj?= =?UTF-8?B?dGVyIOKJoCBpcyBub3QgdmFsaWQgaW4gYW4gaWRlbnRpZmllcg==?= Date: Tue, 23 May 2023 18:05:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adam at wozniakconsulting dot com X-Bugzilla-Status: REOPENED 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=3D109936 --- Comment #26 from Adam Wozniak --- (In reply to Jonathan Wakely from comment #19) > (In reply to Andreas Schwab from comment #10) > > It is a valid preprocessing token ("non-whitespace character that canno= t be > > one of the above"). >=20 > Ah right, yes. It's a preprocessing token, but is never converted to a > token, so doesn't need to be a keyword, identifier etc. i feel like it should work for stringification reasons too. e.g. #define X(x) #x const char *letterA =3D X(A); // this works const char *notequal =3D X(=E2=89=A0); // this does not=