Fix fsan compilation-error-regexp

This commit is contained in:
2024-10-01 16:22:08 +01:00
parent 3fe3062be1
commit 003df0a5cf

View File

@@ -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