Skip to content

bug(parser): variable types with line continuation character not parsed #235

Description

@certik

Can't find the symbol "i" if you put the cursor at the last line and press F12 in VSCode

program test_ls
implicit none
inte&
&ger &
    :: i
    
i = 5
end program

The following works:

program test_ls
implicit none
integer &
    :: i
    
i = 5
end program

I just tested one of our examples from LFortran. I don't know for sure, but I think you have to have a full Fortran parser to parse everything.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparser: nativeIssues related with the native parser of fortls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions