You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am changing the title because I believe the problem is not the lower bound -- that seems to be okay.
The issue is that the parser does not know how to handle any array bound which is not a simple Fortran identifier.
There has been a doctest demonstrating this from the beginning.
Now to work on removing that restriction . . .
gold2718
changed the title
capgen's Fortran parser does not understand array declarations that have lower bounds specified
capgen's Fortran parser does not allow array bounds which are not Fortran identifiers
Jan 13, 2025
Description
capgen
cannot parse array declarations that use an explicit lower bound, for example as in this line with the lower bound being an argument to the scheme:https://github.com/ufs-community/ccpp-physics/blob/44700d5e92f00524ade276062e1f7c50e554c0fb/physics/SFC_Models/Lake/CLM/clm_lake.f90#L364
Steps to Reproduce
MISSING @dustinswales will create a test for this so that it can be reproduced and fixed easily
Please provide detailed steps for reproducing the issue.
Additional Context
This is a valid Fortran expression that capgen needs to be able to process
Output
MISSING
The text was updated successfully, but these errors were encountered: