branch: externals/csharp-mode
commit 7dec1eaffecfe230ddda92a3dd37bc08f432502b
Author: Jesse Black <jesse.w.bl...@gmail.com>
Commit: Jesse Black <jesse.w.bl...@gmail.com>

    make compilation regexps work with xbuild
---
 csharp-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index a8982ec..6b9b9b8 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -4142,10 +4142,10 @@ The return value is meaningless, and is ignored by 
cc-mode.
     (dolist
         (regexp
          '((msbuild-error
-            "^[[:space:]]+\\([^(]+\\)(\\([0-9]+\\),\\([0-9]+\\)): error .+$"
+            "^[[:blank:]]*\\([^(\r\n]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?): 
error .+$"
             1 2 3 2)
            (msbuild-warning
-            "^[[:space:]]+\\([^(]+\\)(\\([0-9]+\\),\\([0-9]+\\)): warning .+$"
+            "^[[:blank:]]*\\([^(\r\n]+\\)(\\([0-9]+\\)\\(?:,\\([0-9]+\\)\\)?): 
warning .+$"
             1 2 3 1)))
       (add-to-list 'compilation-error-regexp-alist-alist regexp))
     (dolist (symbol '(msbuild-error msbuild-warning))

Reply via email to