capgen's Fortran parser does not allow array bounds which are not Fortran identifiers
@dustinswales is already working on this.
Since Sep 16, 2024.
- Dominant language
- Python
- Stars
- 25
- Forks
- 67
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 2
Description
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.
- step 1
- step 2
- see the bug...
Additional Context
This is a valid Fortran expression that capgen needs to be able to process
Output
MISSING
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.