[RFC][PATCH] -d_lines
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Aug 18 05:34:00 GMT 2005
On Wed, Aug 17, 2005 at 01:12:51PM -0700, Brooks Moses wrote:
> Tobias Schl?ter wrote:
> >2. I've decided to create three possibilities:
> > - -fd-lines given: treat 'd' in column 1 as equivalent to a single blank
> > - -fno-d-lines given: treat 'D' in column 1 as equivalent to a 'C'
> > (=comment)
> > - neither option given: syntax error (behavior following the standard)
> >Does everybody agree that this is the right way to deal with this?
>
> I somewhat disagree with this choice of names, as I would expect
> -fno-d-lines to undo a -fd-lines option, and vice versa. In particular,
> I would not expect an option named -fno-d-lines to allow d lines as
> comments, when the default is not to do so!
>
> 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.
--
Steve
More information about the Fortran
mailing list