Function: vhdl-re-search-forward

vhdl-re-search-forward is a byte-compiled function defined in vhdl-mode.el.gz.

Signature

(vhdl-re-search-forward REGEXP &optional BOUND NOERROR COUNT)

Documentation

Like re-search-forward, but does not match within literals.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Help functions

(defun vhdl-re-search-forward (regexp &optional bound noerror count)
  "Like `re-search-forward', but does not match within literals."
  (let (pos)
    (save-excursion
      (while (and (setq pos (re-search-forward regexp bound noerror count))
		  (save-match-data (vhdl-in-literal)))))
    (when pos (goto-char pos))
    pos))