diff options
| author | Jostein Kjønigsen | 2025-04-25 15:29:31 +0200 |
|---|---|---|
| committer | Yuan Fu | 2025-05-01 00:50:05 -0700 |
| commit | ebeaa728b66d0674fa499bf0bf2ae573ec9984aa (patch) | |
| tree | e0c9b2aec181008c440ff553e10a5dcddaaf637c | |
| parent | eb6a50d3e3f3c348a7fbdb2dfcbf87425ca6e5cd (diff) | |
| download | emacs-ebeaa728b66d0674fa499bf0bf2ae573ec9984aa.tar.gz emacs-ebeaa728b66d0674fa499bf0bf2ae573ec9984aa.zip | |
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.
| -rw-r--r-- | lisp/progmodes/csharp-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/csharp-mode.el b/lisp/progmodes/csharp-mode.el index 55ae7db714b..3e372546eb6 100644 --- a/lisp/progmodes/csharp-mode.el +++ b/lisp/progmodes/csharp-mode.el | |||
| @@ -591,10 +591,10 @@ compilation and evaluation time conflicts." | |||
| 591 | "Regexp to match compilation warning from xbuild.") | 591 | "Regexp to match compilation warning from xbuild.") |
| 592 | 592 | ||
| 593 | (defconst csharp-compilation-re-dotnet-error | 593 | (defconst csharp-compilation-re-dotnet-error |
| 594 | "\\([^\r\n]+\\) : error [A-Z]+[0-9]+:") | 594 | "[[:blank:]]*\\([^\r\n]+\\) : error [A-Z]+[0-9]+:") |
| 595 | 595 | ||
| 596 | (defconst csharp-compilation-re-dotnet-warning | 596 | (defconst csharp-compilation-re-dotnet-warning |
| 597 | "\\([^\r\n]+\\) : warning [A-Z]+[0-9]+:") | 597 | "[[:blank:]]*\\([^\r\n]+\\) : warning [A-Z]+[0-9]+:") |
| 598 | 598 | ||
| 599 | (defconst csharp-compilation-re-dotnet-testfail | 599 | (defconst csharp-compilation-re-dotnet-testfail |
| 600 | (concat | 600 | (concat |