PROCEDURE declarations

Janus Weil jaydub66@googlemail.com
Sun Aug 19 16:20:00 GMT 2007


Hi all,
first of all I wanted to thanks both Tobias Burnus and Tobias Schlüter
for their great support and the quick approval of my abstract
interface patch. Since this one's out the door now, I will move on
with PROCEDURE declarations.
Attached you find the latest version of the patch. This one should
work with most of Tobias B.'s code samples, in particular it should
handle implicit interfaces, the PUBLIC attribute and procedures in
modules.
Please note that it still doesn't handle lots of attributes (e.g.
BIND(C) and others). I'm thinking about the best way to support all
attributes. Do you think I should use "match_attr_spec" for parsing
and check afterwards which ones are actually allowed in a PROCEDURE
context, or implement the parsing myself (as I do now)? I think the
former would be better, but I am not sure.
Tobias S. told me that my indenting in gfc_match_procedure was
"consistently non-gnuish", which I don't really understand. I thought
I got the indenting right by now. Can you please clarify? Also I
didn't quite get your comment about "missing vertical whitespace" in
the resolve_symbol hunk ...
I haven't managed to look at all of Tobias B.'s comments yet (which
are always very helpful and numerous ;), e.g. on C1212 and intrinsic
procedures, but will do that soon.
Cheers,
Janus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: procdecl127614.diff
Type: text/x-patch
Size: 12919 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070819/ad8c4ec0/attachment.bin>


More information about the Fortran mailing list