pFUnitParser.py assumes that empty subroutine argument lists have parentheses:
However, it is legal in Fortran to omit the parentheses in this case. So the following should be equivalent to the above, but pFUnitParser.py can't handle it:
(Note that the parentheses are mandatory for functions, but optional for subroutines that have no argument list; this is true for both definitions and procedure calls.)
Log in to post a comment.