Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old style parametric-length char array declaration not recognized #130

Closed
timtylin opened this issue Jul 24, 2019 · 0 comments
Closed

Old style parametric-length char array declaration not recognized #130

timtylin opened this issue Jul 24, 2019 · 0 comments
Labels

Comments

@timtylin
Copy link

timtylin commented Jul 24, 2019

We have some old code floating around with declarations of the form

INTEGER :: N
CHARACTER*(N) :: S

which isn't exactly the best coding style but is essentially equivalent to

INTEGER :: N
CHARACTER(LEN=N) :: S

Both are recognised by gfortran and ifort, however FLS would fail to properly parse the length of S in the former case. It seems to think it's of the form "CHARACTER*" instead of "CHARACTER*(N)" like I would expect.

(using 1.10.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants