fortran-language-server icon indicating copy to clipboard operation
fortran-language-server copied to clipboard

VSCODE Issues For End of Scope & CONTAINS statement & Syntax Error

Open zhongxiang117 opened this issue 4 years ago • 0 comments

They are three issues on the [fortran_fixed-form].

To reproduce them, a file is created: issues-fortranls-fixed-form

Unexpected end of scope at line X

The same issue for f90 #136 has been fixed, however for the [fortran_fixed-form], the issue is still here.

Subroutine/Function definition before CONTAINS statement

I looked on the source codes, found it in objects.py---line-647

As far as know, this warning info is caused by defining the block or contain statements before the subroutine? Am I correct?

However, does it have any way to prevent this warning info?

Syntax Error on TYPE parsing

A similar issue #181 , it seems the TYPE word is wrongly parsed in COMMON block as the keywords rather than the general variables or literals, and thus causing all the following Syntax Highlights failing..

zhongxiang117 avatar Nov 04 '20 01:11 zhongxiang117