]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix ModelSim error regexp in vhdl-mode
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Apr 2023 10:07:42 +0000 (13:07 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Apr 2023 10:07:42 +0000 (13:07 +0300)
* lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix ModelSim
error regexp.  Suggested by Reto Zimmermann <reto@gnu.org>.
(Bug#62508)

lisp/progmodes/vhdl-mode.el

index c5ab5013fc8687d334a05174dc3421c775a39ccb..b0699d8308b4af34a729aa2aa0f488a843af0336 100644 (file)
@@ -286,7 +286,7 @@ Overrides local variable `indent-tabs-mode'."
     ;;    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\\[[0-9]+\\]:\\|\\*\\* Error:\\|\\*\\* Warning: \\[[0-9]+\\]\\| +\\) \\([^ ]+\\)(\\([0-9]+\\)):" 2 3 nil)
+     ("^\\(ERROR\\|WARNING\\|\\*\\* Error\\|\\*\\* Warning\\)[^:]*:\\( *\[[0-9]+\]\\| ([^)]+)\\)? \\([^ \t\n]+\\)(\\([0-9]+\\)):" 3 4 nil)
      ("" 0)
      ("\\1/_primary.dat" "\\2/\\1.dat" "\\1/_primary.dat"
       "\\1/_primary.dat" "\\1/body.dat" downcase))