summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 14da5880203..c0e16ce3515 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -351,7 +351,10 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
;; from Ruby, but it is unclear whether it is actually
;; used since the gcc-include rule above seems to cover
;; it.
- (regexp "[ \t]+\\(?:in \\|from\\)")))
+ (regexp "[ \t]+\\(?:in \\|from\\)")
+ ;; Skip indentation generated by tools like GCC's
+ ;; -fanalyzer.
+ (: (+ space) "|")))
;; File name group.
(group-n 1