GNU bug report logs -
#5768
[24.3] [PATCH] vhdl-mode.el: vhdl-mode modelsim error parsing does not work.
Previous Next
Reported by: "Scott, Ashley" <Ashley.Scott <at> goodrich.com>
Date: Wed, 24 Mar 2010 16:08:02 UTC
Severity: normal
Tags: confirmed, fixed, patch
Found in versions 24.3, 23.1
Fixed in version 25.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Friedrich Beckmann <friedrich.beckmann <at> gmx.de> writes:
> I attach the patch in plain text also:
>
> diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
> index 3d5a398..7c51587 100644
> --- a/lisp/progmodes/vhdl-mode.el
> +++ b/lisp/progmodes/vhdl-mode.el
> @@ -264,9 +264,14 @@ Overrides local variable `indent-tabs-mode'."
> ;; WARNING[2]: test.vhd(85): Possible infinite loop
> ;; ** Warning: [4] ../src/emacsvsim.vhd(43): An abstract ...
> ;; ** Error: adder.vhd(190): Unknown identifier: ctl_numb
> + ;; ** Error: counter_rtl.vhd(18): Nonresolved signal 'hallo' has multiple sources.
> + ;; Drivers:
> + ;; counter_rtl.vhd(27):Conditional signal assignment line__27
> + ;; counter_rtl.vhd(29):Conditional signal assignment line__29
> ("ModelSim" "vcom" "-93 -work \\1" "make" "-f \\1"
> nil "vlib \\1; vmap \\2 \\1" "./" "work/" "Makefile" "modelsim"
> - ("\\(ERROR\\|WARNING\\|\\*\\* Error\\|\\*\\* Warning\\)[^:]*:\\( *\[[0-9]+\]\\)? \\([^ \\t\\n]+\\)(\\([0-9]+\\)):" 3 4 nil) ("" 0)
> + ("\\(ERROR:\\|WARNING\\[[0-9]+\\]:\\|\\*\\* Error:\\|\\*\\* Warning: \\[[0-9]+\\]\\| +\\) \\([^ ]+\\)(\\([0-9]+\\)):" 2 3 nil)
> + ("" 0)
> ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat"
> "\\1/_primary.dat" "\\1/body.dat" downcase))
> ;; ProVHDL, Synopsys LEDA: provhdl -w work -f test.vhd
I don't have ModelSim, so I can't really test this, but at first glance,
this looks reasonable, so I've applied it to emacs-25.
Please reopen this bug if this doesn't fix the problem.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 9 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.