fortran-lang / fortls

fortls - Fortran Language Server
https://fortls.fortran-lang.org/
MIT License
258 stars 41 forks source link

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

Closed OttTs closed 6 months ago

OttTs commented 1 year ago

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

Screenshot image

gnikit commented 1 year ago

MWE

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