Variable: fortran-blocks-re

fortran-blocks-re is a variable defined in fortran.el.gz.

Value

"block[         ]*data\\|select[        ]*case\\|\\(?:do\\|function\\|i\\(?:f\\|nterface\\)\\|map\\|program\\|s\\(?:\\(?:tructur\\|ubroutin\\)e\\)\\|union\\|where\\)"

Documentation

Regexp potentially indicating the start or end of a Fortran "block".

Omits naked END statements, and DO-loops closed by anything other than ENDDO.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/fortran.el.gz
;; Hideshow support.
(defconst fortran-blocks-re
  (concat "block[ \t]*data\\|select[ \t]*case\\|"
          (regexp-opt '("do" "if" "interface" "function" "map" "program"
                        "structure" "subroutine" "union" "where")))
  "Regexp potentially indicating the start or end of a Fortran \"block\".
Omits naked END statements, and DO-loops closed by anything other
than ENDDO.")