[RFC][PATCH] -d_lines
Brooks Moses
bmoses@stanford.edu
Thu Aug 18 05:56:00 GMT 2005
Steve Kargl wrote:
> On Wed, Aug 17, 2005 at 01:12:51PM -0700, Brooks Moses wrote:
>>Thus, I suggest as a counteroffer:
>>
>> -fd-lines: treat 'd', 'D' in column 1 as a blank.
>> -fno-d-lines: negates a preceeding -fd-lines.
>> -fd-comments: treat 'd', 'D' in column 1 as a 'C'.
>> -fno-d-comments: negates a preceeding -fd-comments.
>
> I prefer -fd-lines and -fd-comments and no -fno-* options.
> If you have, for example, -fd-comments on the command, then
> backspace and delete it instead of adding -fno-d-comments.
Fair enough. I suppose the use for -fno-d-comments would be if
something like -std=legacy (is that what it's called?) were specified,
and it included -fd-comments, and one didn't want it to but wanted the
rest of the -std=legacy options. Or something like that -- I only
included them because I had the impression that gfortran had similar
"turn it back off" options for other things like this.
In any case, I agree with you and Richard that this should only be on by
default in -std=legacy, if that. (It may be worth having it on in
-std=legacy, given that that option really seems to mean "accept
anything that we can accept".)
- Brooks
More information about the Fortran
mailing list