Function: verilog-read-inst-name

verilog-read-inst-name is a byte-compiled function defined in verilog-mode.el.gz.

Signature

(verilog-read-inst-name)

Documentation

Return instance_name when point is inside instantiation.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
(defun verilog-read-inst-name ()
  "Return instance_name when point is inside instantiation."
  (save-excursion
    (verilog-read-inst-backward-name)
    (looking-at "[a-zA-Z0-9`_$]+")
    ;; Important: don't use match string, this must work with Emacs 19 font-lock on
    (buffer-substring-no-properties (match-beginning 0) (match-end 0))))