From 53720a9bdedaf75eebf199897740561a4040b5c4 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Thu, 13 Aug 2020 12:20:53 +0200 Subject: [PATCH] gcc-include compilation lines are now INFO, instead of WARNING * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Prior to this patch the line that contains "from a.h:1:0," was seen as INFO and the line that contains "from a.c:1:" was seen as a WARNING. This patch makes them both INFO (bug#17826). --- lisp/progmodes/compile.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 0b9f417845f..3106c61585e 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -316,8 +316,8 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1)) (gcc-include "^\\(?:In file included \\| \\|\t\\)from \ \\([0-9]*[^0-9\n]\\(?:[^\n :]\\| [^-/\n]\\|:[^ \n]\\)*?\\):\ -\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?\\(?:\\(:\\)\\|\\(,\\|$\\)\\)?" - 1 2 3 (4 . 5)) +\\([0-9]+\\)\\(?::\\([0-9]+\\)\\)?\\(?:\\([:,]\\|$\\)\\)?" + 1 2 3 (nil . 4)) (ruby-Test::Unit "^ [[ ]?\\([^ (].*\\):\\([1-9][0-9]*\\)\\(\\]\\)?:in " 1 2) -- 2.39.5