RF[AC]: Dollars in identifiers mess

Richard Henderson rth@redhat.com
Sat Jul 27 16:29:00 GMT 2002


On Sun, Jul 21, 2002 at 09:44:42AM +0100, Neil Booth wrote:
> 1) -$ does the same as -fdollars-in-identifiers.  I'd like to
>    kill it, particularly as there is no option -no-$.  Does anyone
>    use it?

Kill it.

> 2) Whether dollars are accepted depends on the std selected
>    as well, and therefore the command line ordering of std=
>    and -fdollars-in-identifiers.  The former will only allow
>    dollars if the target macro says OK; the latter allows
>    them regardless.  Ugh.

Blah.  I'd have expected -fdollars-in-identifiers to override
a standard setting.

> !   CPP_OPTION (pfile, dollars_in_ident)	 = (l->dollars_in_ident
> ! 					    && DOLLARS_IN_IDENTIFIERS);

Hum..  I'd think warning or erroring for a setting that is not
supported by the target is better than silently ignoring it.



r~



More information about the Gcc-patches mailing list