PSyclone icon indicating copy to clipboard operation
PSyclone copied to clipboard

Add support to parse Fortran array bounds with expressions

Open sergisiso opened this issue 2 years ago • 4 comments

For example: real :: a(start - 1: stop + 1)

Currently it is a UnknownFortranType, but it should be an ArrayType with an ArrayBound with 2 psyir expressions.

sergisiso avatar May 11 '23 15:05 sergisiso

This is also an issue when attempting to inline routines/functions in NEMO (e.g. snw_ent in icethd_dh.f90).

arporter avatar Mar 07 '24 09:03 arporter

I shall take this one on.

arporter avatar Apr 23 '24 08:04 arporter

It turns out this is a duplicate of #949 but as I've only just discovered this, I'll carry on with this one.

arporter avatar Apr 23 '24 14:04 arporter