Subject: Re: bug#5768: Bug 5768: vhdl-mode.el: Modelsim error parsing patch in plain text

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 28 Feb 2016 17:05:16 +1100

Friedrich Beckmann <[email-masked]> 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