Function: verilog-error-regexp-add-emacs
verilog-error-regexp-add-emacs is an interactive and byte-compiled
function defined in verilog-mode.el.gz.
Signature
(verilog-error-regexp-add-emacs)
Documentation
Tell Emacs compile that we are Verilog.
Called by compilation-mode-hook. This allows C-x ` (next-error) to
find the errors.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/verilog-mode.el.gz
;; Following code only gets called from compilation-mode-hook on Emacs to add error handling.
(defun verilog-error-regexp-add-emacs ()
"Tell Emacs compile that we are Verilog.
Called by `compilation-mode-hook'. This allows \\[next-error] to
find the errors."
(interactive)
(when (boundp 'compilation-error-regexp-alist-alist)
(when (not (assoc 'verilog-xl-1 compilation-error-regexp-alist-alist))
(mapc
(lambda (item)
(push (car item) compilation-error-regexp-alist)
(push item compilation-error-regexp-alist-alist))
verilog-error-regexp-emacs-alist))))