Java: Don't mangle "$" characters in identifier names

Jason Merrill jason@redhat.com
Tue Mar 13 14:06:00 GMT 2001


>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:

> Jason Merrill wrote:
>> Apparently someone once decided that using '.' instead of '$' would be a
>> good idea on SVR4 platforms.
>> 
>> Now that the mangling scheme doesn't use either of these, we should remove
>> this macro definition, and most of the remaining NO_*_IN_LABEL code around
>> the compiler.

> What about '$' in labels? Should C++ be mangling those to something else
> ('__U24_'), or does it not matter?

If the assembler accepts literal $, we should use literal $.

Jason



More information about the Java-patches mailing list