[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs shell.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs shell.c |
Date: |
Fri, 31 Mar 2017 03:42:44 -0400 (EDT) |
CVSROOT: /sources/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 17/03/31 03:42:44
Modified files:
. : shell.c
Log message:
shell: fix colorization of clang note diagnostics
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/shell.c?cvsroot=qemacs&r1=1.119&r2=1.120
Patches:
Index: shell.c
===================================================================
RCS file: /sources/qemacs/qemacs/shell.c,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -b -r1.119 -r1.120
--- shell.c 25 Mar 2017 17:49:39 -0000 1.119
+++ shell.c 31 Mar 2017 07:42:44 -0000 1.120
@@ -2325,6 +2325,7 @@
i += match_digits(str + i, n - i, ':'); /* line number */
i += match_digits(str + i, n - i, ':'); /* col number */
if (match_string(str + i, n - i, " error:")
+ || match_string(str + i, n - i, " note:")
|| match_string(str + i, n - i, " warning:")) {
/* clang diagnostic, will colorize the next line */
cp->colorize_state = 1;