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

parameter(name=value) not being parsed #203

Open
ehermann opened this issue Sep 30, 2022 · 2 comments
Open

parameter(name=value) not being parsed #203

ehermann opened this issue Sep 30, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request parser: native Issues related with the native parser of fortls

Comments

@ehermann
Copy link

Hello,
I'm working on a legacy code and it seems that the following syntax for parameters isn't being considered:

parameter(name=value)

I would be happy to contribute to the project and fix this bug if you give me some hints.
Best regards

@ehermann ehermann added the bug Something isn't working label Sep 30, 2022
@ehermann ehermann changed the title parameter(name=value) parameter(name=value) not being parsed Sep 30, 2022
@gnikit
Copy link
Member

gnikit commented Oct 14, 2022

Hi @ehermann apologies for taking a while to get back to you. I will have a look at this now and see how easy it is to fix.

@gnikit gnikit self-assigned this Oct 14, 2022
@gnikit
Copy link
Member

gnikit commented Oct 16, 2022

So we have no support for this type of AST node, we currently support the PARAMETER attribute
image

I will need to implement the PARAMETER statement see 8.6.11 in Fortran Standard 2018 draft

image

@gnikit gnikit added enhancement New feature or request and removed bug Something isn't working labels Oct 20, 2022
@gnikit gnikit added the parser: native Issues related with the native parser of fortls label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parser: native Issues related with the native parser of fortls
Projects
None yet
Development

No branches or pull requests

2 participants