Variable: srecode-document-autocomment-return-last-alist

srecode-document-autocomment-return-last-alist is a customizable variable defined in document.el.gz.

Value

(("static[      \n]+struct \\([a-zA-Z0-9_]+\\)" . "%s")
 ("struct \\([a-zA-Z0-9_]+\\)" . "%s")
 ("static[      \n]+union \\([a-zA-Z0-9_]+\\)" . "%s")
 ("union \\([a-zA-Z0-9_]+\\)" . "%s")
 ("static[      \n]+enum \\([a-zA-Z0-9_]+\\)" . "%s")
 ("enum \\([a-zA-Z0-9_]+\\)" . "%s")
 ("static[      \n]+\\([a-zA-Z0-9_]+\\)" . "%s")
 ("\\([a-zA-Z0-9_]+\\)" . "of type %s"))

Documentation

List of regexps which provide the type of the return value.

This is an alist with each element of the form:
 (MATCH . RESULT)
MATCH is a regexp to match in the type field. RESULT is a string, which can contain %s, which is replaced with match-string 1.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/srecode/document.el.gz
(defcustom srecode-document-autocomment-return-last-alist
  '(
    ("static[ \t\n]+struct \\([a-zA-Z0-9_]+\\)" . "%s")
    ("struct \\([a-zA-Z0-9_]+\\)" . "%s")
    ("static[ \t\n]+union \\([a-zA-Z0-9_]+\\)" . "%s")
    ("union \\([a-zA-Z0-9_]+\\)" . "%s")
    ("static[ \t\n]+enum \\([a-zA-Z0-9_]+\\)" . "%s")
    ("enum \\([a-zA-Z0-9_]+\\)" . "%s")
    ("static[ \t\n]+\\([a-zA-Z0-9_]+\\)" . "%s")
    ("\\([a-zA-Z0-9_]+\\)" . "of type %s")
    )
  "List of regexps which provide the type of the return value.
This is an alist with each element of the form:
 (MATCH . RESULT)
MATCH is a regexp to match in the type field.
RESULT is a string, which can contain %s, which is replaced with
`match-string' 1."
  :type '(repeat (cons (regexp :tag "Regexp")
		       (string :tag "Doc Text"))))