This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: small bug in the parser ..
Disregard this previous message, I found it.
f2k, has a small change in the syntax of the use statement which requires the module-nature specifier to be preceded by a ','.
Hmmm ... how do I change the parser, do I make it depend on a flag to include the f2k behaviour ?
/ Lars Segerlund.
On Mon, 3 Nov 2003 14:11:19 +0100
Lars Segerlund <lars.segerlund@comsys.se> wrote:
>
> I have been looking at module.c , and the parser doesn't accept a ',' after a use statement.
>
> Am I wrong to believe that it should accept a number of preceding ',' ? ( and simply ignore them ? ).
>
> Looking at the docs, but haven't found something definitive yet.
>
> The reason is that this is used for intrinsic modules, and I can't believe that the syntax of 2k and 95 should differ that much.
>
> i.e. is the following legal:
>
> use , <module name> ;
>
> instead of :
>
> use <module name>;
>
> / Lars Segerlund.