Variable: vhdl-error-regexp-emacs-alist
vhdl-error-regexp-emacs-alist is a variable defined in
vhdl-mode.el.gz.
Value
((vhdl-xilinx-vivado "^\\(?:\\(?1:ERROR\\)\\|\\(?2:WARNING\\)\\|\\(?3:INFO\\)\\): \\(.+\\) \\[\\(?4:[^ \n]+\\):\\(?5:[0-9]+\\)\\]" 4 5 nil
(2 . 3))
(vhdl-xilinx-xst "^ERROR:HDLParsers:[0-9]+ - \"\\([^ \n]+\\)\" Line \\([0-9]+\\)\\." 1 2 nil nil)
(vhdl-viewlogic-file "^ *Compiling \"\\(.+\\)\" " 1)
(vhdl-viewlogic "^\\*\\*Error: LINE \\([0-9]+\\) \\*\\*\\*" nil 1 nil nil)
(vhdl-veribest "^ +\\([0-9]+\\): +[^ ]" nil 1 nil nil)
(vhdl-vantage-file "^ *Compiling \"\\(.+\\)\" " 1)
(vhdl-vantage "^\\*\\*Error: LINE \\([0-9]+\\) \\*\\*\\*" nil 1 nil nil)
(vhdl-synplify "^@[EWN]:\"\\([^ \n]+\\)\":\\([0-9]+\\):\\([0-9]+\\):" 1 2 3 nil)
(vhdl-synopsys-design-compiler "^\\*\\*Error: vhdlan,[0-9]+ \\([^ \n]+\\)(\\([0-9]+\\)):" 1 2 nil nil)
(vhdl-synopsys "^\\*\\*Error: vhdlan,[0-9]+ \\([^ \n]+\\)(\\([0-9]+\\)):" 1 2 nil nil)
(vhdl-speedwave "^ *ERROR\\[[0-9]+]::File \\([^ \n]+\\) Line \\([0-9]+\\):" 1 2 nil nil)
(vhdl-simili "^\\(Error\\|Warning\\): \\w+: \\([^ \n]+\\): (line \\([0-9]+\\)): " 2 3 nil nil)
(vhdl-savant "^\\([^ \n:]+\\):\\([0-9]+\\): " 1 2 nil nil)
(vhdl-quickhdl "^\\(ERROR\\|WARNING\\)[^:]*: \\([^ \n]+\\)(\\([0-9]+\\)):" 2 3 nil nil)
(vhdl-quartus "^\\(Error\\|Warning\\): .* \\([^ \n]+\\)(\\([0-9]+\\))" 2 3 nil nil)
(vhdl-leda-provhdl "^\\([^ \n:]+\\):\\([0-9]+\\): " 1 2 nil nil)
(vhdl-modelsim "^\\(?:\\(?1:ERROR\\|\\*\\* Error\\)\\|\\(?2:WARNING\\|\\*\\* Warning\\)\\|\\(?3:NOTE\\|\\*\\* Note\\)\\)[^:]*:\\( *\\[[0-9]+]\\| ([^)]+)\\)? \\(?4:[^ \n]+\\)(\\(?5:[0-9]+\\)):" 4 5 nil
(2 . 3))
(vhdl-ikos-file "^analyze +\\(.+ +\\)*\\(.+\\)$" 2)
(vhdl-ikos "^E L\\([0-9]+\\)/C\\([0-9]+\\):" nil 1 2 nil)
(vhdl-ibm-compiler "^[0-9]+ COACHDL.*: File: \\([^ \n]+\\), *line.column: \\([0-9]+\\).\\([0-9]+\\)" 1 2 3 nil)
(vhdl-ghdl "^ghdl_p: \\*E,\\w+ (\\([^ \n]+\\),\\([0-9]+\\)|\\([0-9]+\\)):" 1 2 3 nil)
(vhdl-cadence-nc "^ncvhdl_p: \\*E,\\w+ (\\([^ \n]+\\),\\([0-9]+\\)|\\([0-9]+\\)):" 1 2 3 nil)
(vhdl-cadence-leapfrog "^duluth: \\*E,[0-9]+ (\\([^ \n]+\\),\\([0-9]+\\)):" 1 2 nil nil)
(vhdl-aldec "^.* ERROR [^:]+: \".*\" \"\\([^ \n]+\\)\" \\([0-9]+\\) \\([0-9]+\\)" 1 2 3 nil)
(vhdl-advance-ms-file "^Compiling file \\(.+\\)" 1)
(vhdl-advance-ms "^\\s-+\\([0-9]+\\):\\s-+" nil 1 nil nil)
(vhdl-directory "^ *Compiling \"\\(.+\\)\"" 1))
Documentation
List of regexps for VHDL compilers. For Emacs 22+.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/vhdl-mode.el.gz
;; Emacs 22+ setup
(defvar vhdl-error-regexp-emacs-alist
;; Get regexps from `vhdl-compiler-alist'
(let ((compiler-alist vhdl-compiler-alist)
(error-regexp-alist '((vhdl-directory "^ *Compiling \"\\(.+\\)\"" 1))))
(while compiler-alist
;; only add regexps for currently selected compiler
(when (or (not vhdl-compile-use-local-error-regexp)
(equal vhdl-compiler (nth 0 (car compiler-alist))))
;; add error message regexps
(setq error-regexp-alist
(cons (append (list (make-symbol (concat "vhdl-" (subst-char-in-string ? ?- (downcase (nth 0 (car compiler-alist)))))))
(nth 11 (car compiler-alist)))
error-regexp-alist))
;; add filename regexps
(when (/= 0 (nth 1 (nth 12 (car compiler-alist))))
(setq error-regexp-alist
(cons (append (list (make-symbol (concat "vhdl-" (subst-char-in-string ? ?- (downcase (nth 0 (car compiler-alist)))) "-file")))
(nth 12 (car compiler-alist)))
error-regexp-alist))))
(setq compiler-alist (cdr compiler-alist)))
error-regexp-alist)
"List of regexps for VHDL compilers. For Emacs 22+.")