This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, Fortran] PROCEDURE declarations


Tobias Burnus wrote:
Tobias Schlüter wrote:
There are two quite different kinds of PROCEDURE statements: the form
with parentheses (R445, R451 and R1211) and the one without (R1206).
The former is akin to a a data declaration statement, the latter to a
MODULE PROCEDURE statement.

Agreed, except for R451 which differs from both:


R451 specific-binding is PROCEDURE [ (interface-name) ]
                         [ [ , binding-attr -list ] :: ]
                         binding-name [ => procedure-name ]

Woops, indeed, thanks for pointing this out.


But we can start worrying about this when we start implementing it.

Agreed.


I think that's fine.  I would like this message and the one from above
to use a similar message, but I'm convinced that you'll find a
pleasant color for this particular bikeshed.
Given the grey, rainy day I suggest blue and yellow.

Hey it's not raining over here! Even if it were, the argument fails as nobody would use their bike on a rainy day! :)


That depends on what information one keeps in the parsing stage :-) But this change is definitely beyond the scope of your current patch,
and can be addressed whenever someone feels the urge (i.e. never :-).
If this should be really fixed, I suggest to fill a PR - otherwise we
will forget about it.

It's only important if somebody touches the code, so I don't think it warrants a PR.


Cheers,
- Tobi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]