dparkins / language-fortran

Syntax highlighting for FORTRAN for atom
MIT License
35 stars 16 forks source link

Un-typed variable with dimension causes atom to hang #35

Closed dparkins closed 9 years ago

dparkins commented 9 years ago

I have found that if I have a line like this in my code (the third one in the code snippet)

implicit none
integer, parameter :: MAXITER=20,MAXJ=5
dimension g(MAXJ+1)

where the variable g has no assigned type, the atom editor will just hang, and will require a restart. It is very bad coding form, but I would like it if the formatting package didn't crash the editor. Any suggestions?