def getDeclarations : Seq[String] = {
for ((sym, info) <- symbols) yield {
var attributeStrings : Seq[String] = Nil
- attributeStrings ++:= sym.getType.getFortranAttributes
+ // It seems these properties need to go after the type-related attributes
for(property <- sym.getProperties) property match {
case (p: FortranProperty) => attributeStrings +:= p.getName
case _ => ()
}
+
+ attributeStrings ++:= sym.getType.getFortranAttributes
attributeStrings.mkString(", ") + " :: " + info.getName
}
}.toSeq.sorted