[patch,4.4, Fortran] PR34997 - Better error message for '$' in name
Andrew Haley
aph@redhat.com
Wed Feb 20 15:05:00 GMT 2008
FX wrote:
>> 2008-02-20 Tobias Burnus <burnus@net-b.de>
>>
>> PR fortran/34997
>> * match.c (gfc_match_name): Improve error message for '$'.
>
> OK. Maybe a slight modification of the wording:
>
>> + gfc_error ("Invalid character '$' at %C. Use -fdollar-ok to accept it");
>
> "... Use -fdollar-ok to relax this constraint"?
> "... Use -fdollar-ok to allow it as an extension"?
>
> (take with a pile of salt, coming from a non native english speaker.)
This is a bit weird. C and C++ have the option "-f{no-}dollars-in-identifiers"
but FORTRAN has "-fdollar-ok" for exactly the same meaning?
Andrew.
More information about the Fortran
mailing list