Fortran FUNCTION source code

In case of a Fortran FUNCTION there was a difference between the handling of the source code lines for functions with and without the RESULT clause. This has  been made uniform.