Function: verilog-search-comment-in-declaration

verilog-search-comment-in-declaration is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-search-comment-in-declaration BOUND)

Documentation

Move cursor to position of comment in declaration and return point.

BOUND is a buffer position that bounds the search.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-search-comment-in-declaration (bound)
  "Move cursor to position of comment in declaration and return point.
BOUND is a buffer position that bounds the search."
  (and (verilog-re-search-forward (verilog-get-declaration-re 'iface-mp) bound 'move)
       (not (looking-at (concat "\\s-*" verilog-comment-start-regexp)))
       (re-search-forward verilog-comment-start-regexp (point-at-eol) :noerror)))