This is the mail archive of the
mailing list for the GCC project.
Re: PATCH Re: mangling of '$' / DOLLARS_IN_IDENTIFIERS cleanup
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- To: Richard Henderson <rth at redhat dot com>,Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>,Adam Megacz <gcc at lists dot megacz dot com>, gcc-patches at gcc dot gnu dot org,java-patches at gcc dot gnu dot org
- Date: Thu, 6 Dec 2001 18:16:04 +0000
- Subject: Re: PATCH Re: mangling of '$' / DOLLARS_IN_IDENTIFIERS cleanup
- References: <firstname.lastname@example.org> <3C0D88C9.email@example.com> <20011206095802.A9416@redhat.com>
Richard Henderson wrote:-
> It's supposed to be the case. Unfortunately, Linux (and perhaps
> some others) defined NO_DOLLAR_IN_LABEL in order to preserve
> mangling compatibility with previous versions of gcc.
> Given that the current mangler doesn't look at this at all, we
> should just fix those places that incorrectly define NO_DOLLAR_IN_LABEL.
Ever since integrated CPP, DOLLARS_IN_IDENTIFIERS has been ignored by
the lexer, FWIW. So for C front ends, $ are always accepted, unless
the user gives -$.
I posted about this back in June, but got no response.