dparkins / language-fortran

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

Highlights unformatted write statements as errors #92

Closed chris-revell closed 7 years ago

chris-revell commented 7 years ago

screen shot 2017-01-03 at 09 36 35

tomedunn commented 7 years ago

Thanks for posting! I was able to recreate the error. The problem has to do with the real(time) statement which is being interpreted as a type declaration rather than a function. This should be easily fixable.

chris-revell commented 7 years ago

You're right, I've removed the real() and it no longer complains. That real() call was an artefact that didn't need to be there anyway, but at least it highlighted a problem. Keep up the good work!