diff options
author | Philip Kaludercic <philipk@posteo.net> | 2021-11-16 00:05:11 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2021-11-21 19:00:40 +0100 |
commit | 08ccce2257d81ae4e8a579c374f6a8e886992385 (patch) | |
tree | 3a41d6964aa25196f8e22ccb24727be4f37fd334 /test/lisp/progmodes | |
parent | b7db7eb2c7b8ac1bddf4afa9ccf9b30ebeb0224e (diff) | |
download | emacs-08ccce2257d81ae4e8a579c374f6a8e886992385.tar.gz emacs-08ccce2257d81ae4e8a579c374f6a8e886992385.tar.bz2 emacs-08ccce2257d81ae4e8a579c374f6a8e886992385.zip |
Improve error parsing for GCC -fanalyzer output
* compile.el (compilation-error-regexp-alist-alist): Adjust gnu rule
* compile-tests.el (compile-tests--test-regexps-data): Add testcase
Diffstat (limited to 'test/lisp/progmodes')
-rw-r--r-- | test/lisp/progmodes/compile-tests.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/progmodes/compile-tests.el b/test/lisp/progmodes/compile-tests.el index 2a3bb3dafae..c714b9ecfe5 100644 --- a/test/lisp/progmodes/compile-tests.el +++ b/test/lisp/progmodes/compile-tests.el @@ -230,6 +230,7 @@ (gnu "foo.c:8:23:information: message" 1 23 8 "foo.c") (gnu "foo.c:8.23-45: Informational: message" 1 (23 . 45) (8 . nil) "foo.c") (gnu "foo.c:8-23: message" 1 nil (8 . 23) "foo.c") + (gnu " |foo.c:8: message" 1 nil 8 "foo.c") ;; The next one is not in the GNU standards AFAICS. ;; Here we seem to interpret it as LINE1-LINE2.COL2. (gnu "foo.c:8-45.3: message" 1 (nil . 3) (8 . 45) "foo.c") |