1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Fix compilation-mode matches for csharp-mode (bug#78128)

* lisp/progmodes/csharp-mode.el:
(csharp-compilation-re-dotnet-error):
(csharp-compilation-re-dotnet-warning): Ignore leading whitespace.
This commit is contained in:
Jostein Kjønigsen 2025-04-25 15:29:31 +02:00 committed by Yuan Fu
parent eb6a50d3e3
commit ebeaa728b6
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -591,10 +591,10 @@ compilation and evaluation time conflicts."
"Regexp to match compilation warning from xbuild.") "Regexp to match compilation warning from xbuild.")
(defconst csharp-compilation-re-dotnet-error (defconst csharp-compilation-re-dotnet-error
"\\([^\r\n]+\\) : error [A-Z]+[0-9]+:") "[[:blank:]]*\\([^\r\n]+\\) : error [A-Z]+[0-9]+:")
(defconst csharp-compilation-re-dotnet-warning (defconst csharp-compilation-re-dotnet-warning
"\\([^\r\n]+\\) : warning [A-Z]+[0-9]+:") "[[:blank:]]*\\([^\r\n]+\\) : warning [A-Z]+[0-9]+:")
(defconst csharp-compilation-re-dotnet-testfail (defconst csharp-compilation-re-dotnet-testfail
(concat (concat