branch: elpa/cider
commit 58ce929662d36a179a1ff910637d41646c26e762
Author: yuhan0 <[email protected]>
Commit: yuhan0 <[email protected]>

    Document semantics of match group numbering
---
 cider-eval.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/cider-eval.el b/cider-eval.el
index 4645b9bb01..31597a6a67 100644
--- a/cider-eval.el
+++ b/cider-eval.el
@@ -561,7 +561,7 @@ It delegates the actual error content to the eval or op 
handler."
          (cider-default-err-eval-handler))
         (t (cider-default-err-eval-print-handler))))
 
-
+;; See `cider-compilation-regexp' for interpretation of match groups.
 (defconst cider-clojure-1.10--location
   '(sequence
     (or "at ("
@@ -676,7 +676,11 @@ A few example values that will match:
       ")"))
 
 (defvar cider-compilation-regexp
-  (list cider-clojure-compilation-regexp  2 3 4 '(1))
+  (list cider-clojure-compilation-regexp
+        2     ; FILE
+        3     ; LINE
+        4     ; COLUMN
+        '(1)) ; TYPE = (WARNING . INFO)
   "Specifications for matching errors and warnings in Clojure stacktraces.
 See `compilation-error-regexp-alist' for help on their format.")
 

Reply via email to