dparkins/language-fortran — pull request #3 by tomedunn (2014-09-29 00:58:52+00:00)
Title: Improved derived-type definition rules.

The current version doesn't properly handle derived-type definitions in fortran 95 and later so I replaced it with a much more robust set of rules. The new derived-type rule is broken up into two main sections: first a type definition section followed by a contains section.

For the most part I tried to write these rules according to the Fortran 2008 standard. As such I appended all of the new rules with fortran.2008, instead of fortran.modern. I also included a few invalid rules where I felt was appropriate to hopefully help with debugging Fortran programs.