For some reason I have to work with fixed format fortran files with very long lines. However the language server seems not work well when I combine using the comment starts with ! and contunuation character & in the declarations. An simple example is as follows.
It does work well with variables declared before the comment, i.e. x,y,z,a here,
however it says "cannot find any definition of dd" for variables after it.
Here are the codes.
program test2
real*8 x,y
& ,z,a ! this is a comment
& ,d,dd,ddd
& ,e,ee,eee
& ,f,ff,fff
& ,g,gg,ggg
x=3
y=4
z=5
a=x
d=3
dd=4
ddd=5
write(*,*) x,y,z,a
end
For some reason I have to work with fixed format fortran files with very long lines. However the language server seems not work well when I combine using the comment starts with
!
and contunuation character&
in the declarations. An simple example is as follows. It does work well with variables declared before the comment, i.e.x,y,z,a
here, however it says "cannot find any definition ofdd
" for variables after it.Here are the codes.
Are there anything wrong with my configurations?