[RFC][PATCH] -d_lines

Steven Bosscher stevenb@suse.de
Wed Aug 17 13:43:00 GMT 2005


On Wednesday 17 August 2005 01:21, Bernhard Fischer wrote:
> Hi,
>
> Several "ancient" fortran programs do exercise -- as well as most
> commercial compilers do support -- a variant of fixed-mode where 'D'
> resp. 'd' in the first column of source is either treated as comment --
> per default -- or as code -- if the compiler sees an argument akin to
> -d_lines.

The patch looks pretty straight-forward.  Good idea to implement
this, IMHO.  One question about the patch:

+	  else
+	    /* d_lines is set, treat line as code and eat the identifier.  */
+	    *start.nextc++;
+	}

Does this mean that all column numbers are going to be off by one?

> PS: Changelog inlined in the patchlet; is this ok or should it be kept
> in the accompagning mail body?

Separate is easier to work with for reviewers.

Gr.
Steven



More information about the Fortran mailing list