[fortran,patch] Properly match character kinds
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Oct 4 04:06:00 GMT 2007
On Sun, Sep 30, 2007 at 02:52:41PM +0100, FX Coudert wrote:
>
> This patch fixes PR33529: we currently don't do proper matching of
> character kinds, because we expect them to be litteral integer
> constants and, though luck, that's certainly not guaranteed :) So
> this borrows bits of code from gfc_match_kind_spec() to do it
> properly, calling gfc_match_init_expr() in turn. I copied some code
> around instead of simply sharing it, because there are some important
> differences between the matching of character kinds and integer/
> logical/real/complex kinds, so it looked better that way.
>
OK.
--
Steve
More information about the Fortran
mailing list