Function: vhdl-parse-group-comment
vhdl-parse-group-comment is a byte-compiled function defined in
vhdl-mode.el.gz.
Signature
(vhdl-parse-group-comment)
Documentation
Parse comment and empty lines between groups of lines.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
(defun vhdl-parse-group-comment ()
"Parse comment and empty lines between groups of lines."
(let ((start (point))
string)
(vhdl-forward-comment (point-max))
(setq string (buffer-substring-no-properties start (point)))
(vhdl-forward-syntactic-ws)
;; strip off leading blanks and first newline
(while (string-match "^\\(\\s-+\\)" string)
(setq string (concat (substring string 0 (match-beginning 1))
(substring string (match-end 1)))))
(if (and (not (equal string "")) (equal (substring string 0 1) "\n"))
(substring string 1)
string)))