From: Dima Kogan Date: Thu, 13 Aug 2020 10:20:53 +0000 (+0200) Subject: gcc-include compilation lines are now INFO, instead of WARNING X-Git-Tag: emacs-28.0.90~6610 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53720a9bdedaf75eebf199897740561a4040b5c4;p=emacs.git 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). --- 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)