Add support for STRUCTURE
and RECORD
blocks vendor extension
#171
Labels
enhancement
New feature or request
STRUCTURE
and RECORD
blocks vendor extension
#171
Description
fortls seems to be not recognizing structures. We have many of them on a huge legacy code. Here are some an examples:
And the the following problems are reported by fortls on VSCode:
Unexpected end statement: No open scopes
Unexpected end statement: No open scopes
Variable "Status" declared twice in scope
Unexpected end statement: No open scopes
The same code compiles without issues on gfortran 11.2.0, with the -fdec command line switch.
Expected Behaviour
Should be able to recognize structures. An option to enable -fdec support would be excellent.
Version of Modern Fortran
3.2.0
Version of Visual Studio Code
1.69.0
Platform and Architecture
Windows-10
Additional Information
I have the following linter arguments configured on settings.json:
Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: