qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs clang.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs clang.c
Date: Thu, 18 May 2017 10:09:56 -0400 (EDT)

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        17/05/18 10:09:56

Modified files:
        .              : clang.c 

Log message:
        clang: fix preprocessor continuation line color bug

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/clang.c?cvsroot=qemacs&r1=1.130&r2=1.131

Patches:
Index: clang.c
===================================================================
RCS file: /sources/qemacs/qemacs/clang.c,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -b -r1.130 -r1.131
--- clang.c     15 May 2017 07:48:30 -0000      1.130
+++ clang.c     18 May 2017 14:09:56 -0000      1.131
@@ -652,7 +652,7 @@
 
     /* strip state if not overflowing from a comment */
     if (!(state & IN_C_COMMENT) &&
-        !((mode_flags & CLANG_LINECONT) && (n <= 0 || ((str[n - 1] & 
CHAR_MASK) == '\\')))) {
+        (!(mode_flags & CLANG_LINECONT) || n <= 0 || (str[n - 1] & CHAR_MASK) 
!= '\\')) {
         state &= ~(IN_C_COMMENT1 | IN_C_PREPROCESS);
     }
     cp->colorize_state = state;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]