Emacs VHDL jump to error -
Emacs VHDL jump to error -
i cannot create emacs jump next-error, previous-error, first-error in vhdl-mode.
i using fsf emacs 23.3.1 recent vhdl-mode 3.33.28 under ubuntu. can compile modelsim , compiler error list:
-- loading bundle standard -- ... -- compiling entity foo ** error: path/foo.vhd(22): (vcom-1136) unknown identifier "std_olgic". i tried adapt error regexp (in compiler-setup) simplest one:
\*\* error: \([a-za-z\/_.]*\)(\([0-9]*\)).* when utilize way can see parses errors correctly:
sed "s/\*\* error: \([a-za-z\/_.]*\)(\([0-9]*\)).*/\1 \2/" ... path/foo.vhd 22 i changed "file subexp index" , "line subexp index" respectively 1 , 2 still cannot jump around errors.
the next config resolves bug me
'(vhdl-compile-use-local-error-regexp t) (add-to-list 'compilation-error-regexp-alist '("** error: \\(.+\\)(\\([0-9]*\\)):" 1 2)) emacs vhdl
Comments
Post a Comment