aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 12e4fd6..d154d71 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -3398,7 +3398,12 @@ a regular expression which captures file names and digits
:after cc-mode
:config
(add-to-list 'compilation-error-regexp-alist-alist
- '(fsan "^ #[[:digit:]] 0x[[:alnum:]]+ in .*? \\(.*.c\\(pp\\)?\\):\\([[:digit:]]+\\)"
+ `(fsan ,(rx (seq
+ line-start " #" digit " 0x" (one-or-more hex) " in "
+ (1+ word) " "
+ (group (seq (* any) (or ".c" ".cpp"))) ":"
+ (group (+ digit))))
+
1 3 4))
(add-to-list 'compilation-error-regexp-alist
'fsan))