Skip to content

capgen's Fortran parser does not allow array bounds which are not Fortran identifiers #588

@climbfuji

Description

@climbfuji

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

Metadata

Metadata

Labels

bugFor issues describing bugs, or PRs fixing bugs

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions