dparkins / language-fortran

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

variable not highlighted in dummy variable declaration #87

Closed cbcoutinho closed 7 years ago

cbcoutinho commented 7 years ago

I think I found a small exception that misses the regex in your free form Fortran declaration

Below, the integer variables are correctly highlighted, but the real of dimension(2) is just white, not being highlighted as a variable.

integer :: ii, jj
integer :: order = 1
real(wp), dimension(2) = xcoords <-- This one

Take your time, no haste

cbcoutinho commented 7 years ago

I'm an idiot. Please disregard

integer :: ii, jj
integer :: order = 1
real(wp), dimension(2) :: xcoords <-- should have been ::, not =