This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: module.c and intrinsic modules
- From: Lars Segerlund <lars dot segerlund at comsys dot se>
- To: fortran at gcc dot gnu dot org
- Date: Fri, 8 Oct 2004 14:29:06 +0200
- Subject: Re: module.c and intrinsic modules
- References: <20041008020938.0abe348d@zeta.comsys.se>
Since I have no comment on the below I will continue to implement along these lines.
/ Lars Segerlund.
On Fri, 8 Oct 2004 02:09:38 +0200
Lars Segerlund <lars.segerlund@comsys.se> wrote:
>
> Hi,
>
> I'm working on intrinsic modules and would like to check if a couple of changes sound reasonable.
>
> I would like to break out some declarations done in module.c and create a file module.h, in order to reuse some stuff and declarations in module.c in the handling of intrinsic modules.
> I have planned to have a file imodule.c which handles the match, and then invokes the correct routines living in separate files for each of the intrinsic modules, ( ie. im_c.c im_ieee.c im_cli.c a.s.o. ).
>
> I think it would be better to have the code shared since a lot of it is the same, and the split will only make things a bit clearer.
>
> I ask as I would like to do this straight off, since I am far from getting a useful handling of intrinsic modules, ( I'm barely done parsing ). Does this sound reasonable.
>
> / Lars Segerlund.