From 003df0a5cf4ed56e4d8da3f21f020b77f7324948 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 1 Oct 2024 16:22:08 +0100 Subject: Fix fsan compilation-error-regexp --- Emacs/.config/emacs/config.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 8340acb..29db14a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -3485,12 +3485,12 @@ a regular expression which captures file names and digits :config (add-to-list 'compilation-error-regexp-alist-alist `(fsan ,(rx (seq - line-start " #" digit " 0x" (one-or-more hex) " in " - (1+ word) " " - (group (seq (* any) (or ".c" ".cpp"))) ":" + line-start " #" digit " 0x" (1+ hex) " in " + (1+ (or word "_")) " " + (group (seq (* any) (or ".c" ".cpp" ".h" ".hpp"))) ":" (group (+ digit)))) - 1 3 4)) + 1 2)) (add-to-list 'compilation-error-regexp-alist 'fsan)) #+end_src -- cgit v1.2.3-13-gbd6f