One of my students identified a ForUML limitation that probably stems from ForUML being developed a before Fortran 2008 features were common in compilers. Fortran 2008 allows comma-separated procedure declaration lists such as the "bar, ignored" below. ForUML ignores everything after the comma, including the subsequent line. To render class diagrams correctly, each procedure declaration must be on a separate line as is done for "foostuff" and "barstuff" below.
Damian
module foo_module
type foo
contains
procedure, no_pass :: bar, ignored ! Fortran 2008 feature. ForUML ignores text from "," onward
procedure, no_pass :: also_ ignored ! ForUML ignores this too because of the above line.
end type
contains
subroutine bar()
end subroutine
subroutine ignored()
end subroutine
subroutine also_ignored()
end subroutine
end module
One of my students identified a ForUML limitation that probably stems from ForUML being developed a before Fortran 2008 features were common in compilers. Fortran 2008 allows comma-separated procedure declaration lists such as the "bar, ignored" below. ForUML ignores everything after the comma, including the subsequent line. To render class diagrams correctly, each procedure declaration must be on a separate line as is done for "foostuff" and "barstuff" below.
Damian