emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/syntax.c,v [EMACS_22_BASE]


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/syntax.c,v [EMACS_22_BASE]
Date: Wed, 06 Jun 2007 17:09:41 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Chong Yidong <cyd>      07/06/06 17:09:40

Index: syntax.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/syntax.c,v
retrieving revision 1.204.2.1
retrieving revision 1.204.2.2
diff -u -b -r1.204.2.1 -r1.204.2.2
--- syntax.c    19 May 2007 15:15:19 -0000      1.204.2.1
+++ syntax.c    6 Jun 2007 17:09:40 -0000       1.204.2.2
@@ -1276,19 +1276,19 @@
          position of it.  */
       while (1)
        {
-         int temp_byte;
-
          if (from == beg)
            break;
-         temp_byte = dec_bytepos (from_byte);
+         DEC_BOTH (from, from_byte);
          UPDATE_SYNTAX_TABLE_BACKWARD (from);
-         ch0 = FETCH_CHAR (temp_byte);
+         ch0 = FETCH_CHAR (from_byte);
          code = SYNTAX (ch0);
          if (!(words_include_escapes
                && (code == Sescape || code == Scharquote)))
            if (code != Sword || WORD_BOUNDARY_P (ch0, ch1))
+             {
+               INC_BOTH (from, from_byte);
              break;
-         DEC_BOTH (from, from_byte);
+             }
          ch1 = ch0;
        }
       count++;




reply via email to

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