NCAR / ccpp-framework

Common Community Physics Package (CCPP)
http://www.dtcenter.org/community-code/common-community-physics-package-ccpp/
Other
26 stars 64 forks source link

capgen's Fortran parser does not understand array declarations that have lower bounds specified #588

Open climbfuji opened 2 months ago

climbfuji commented 2 months ago

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.

  1. step 1
  2. step 2
  3. see the bug...

Additional Context

This is a valid Fortran expression that capgen needs to be able to process

Output

MISSING