fortran-end-prog-re

fortran-end-prog-re is a variable defined in `fortran.el'.
Its value is

"^[ 0-9]*end\\([ ]*\\(program\\|subroutine\\|function\\|block[ ]*data\\)\\>\\([ ]*\\(\\sw\\|\\s_\\)+\\)?\\)?"

  • This variable may be risky if used as a file-local variable.

Documentation:
Regexp possibly matching the end of a subprogram, from the line start.
See also `fortran-end-prog-re1'.