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

Semicolon after END [IF/DO/...] triggers "Unexpected end of scope" #265

Closed
OttTs opened this issue Mar 7, 2023 · 1 comment
Closed

Semicolon after END [IF/DO/...] triggers "Unexpected end of scope" #265

OttTs opened this issue Mar 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working parser: native Issues related with the native parser of fortls

Comments

@OttTs
Copy link

OttTs commented Mar 7, 2023

Description
Semicolons after END IF/END DO/... statements produce an "Unexpected end of scope" error.

Screenshot
image

@OttTs OttTs added the bug Something isn't working label Mar 7, 2023
@gnikit
Copy link
Member

gnikit commented May 17, 2023

MWE

program semicolon_test
    implicit none
    integer :: i
    do i=1, 3
        print *, "Hello World!"
    end do;
end program semicolon_test

@gnikit gnikit self-assigned this May 17, 2023
@gnikit gnikit added the parser: native Issues related with the native parser of fortls label Jul 23, 2023
@gnikit gnikit closed this as completed in dece46a May 10, 2024
@github-project-automation github-project-automation bot moved this from To do to Done in fortls v3.0.0 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser: native Issues related with the native parser of fortls
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants