Skip to content

Commit 58ce929

Browse files
committed
Document semantics of match group numbering
1 parent a4d4c07 commit 58ce929

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cider-eval.el

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ It delegates the actual error content to the eval or op handler."
561561
(cider-default-err-eval-handler))
562562
(t (cider-default-err-eval-print-handler))))
563563

564-
564+
;; See `cider-compilation-regexp' for interpretation of match groups.
565565
(defconst cider-clojure-1.10--location
566566
'(sequence
567567
(or "at ("
@@ -676,7 +676,11 @@ A few example values that will match:
676676
")"))
677677

678678
(defvar cider-compilation-regexp
679-
(list cider-clojure-compilation-regexp 2 3 4 '(1))
679+
(list cider-clojure-compilation-regexp
680+
2 ; FILE
681+
3 ; LINE
682+
4 ; COLUMN
683+
'(1)) ; TYPE = (WARNING . INFO)
680684
"Specifications for matching errors and warnings in Clojure stacktraces.
681685
See `compilation-error-regexp-alist' for help on their format.")
682686

0 commit comments

Comments
 (0)