]> git.eshelyaron.com Git - emacs.git/commitdiff
(skip_syntaxes): Synch with the trunk.
authorKenichi Handa <handa@m17n.org>
Mon, 21 May 2007 12:40:01 +0000 (12:40 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 21 May 2007 12:40:01 +0000 (12:40 +0000)
src/syntax.c

index 651406230325fb109461f6c2e5367f34f063c810..a1de152fd43f100e538156e68465f790fd89f9bf 100644 (file)
@@ -2051,10 +2051,10 @@ skip_syntaxes (forwardp, string, lim)
                    p = GPT_ADDR;
                    stop = endp;
                  }
+               UPDATE_SYNTAX_TABLE_BACKWARD (pos - 1);
                if (! fastmap[(int) SYNTAX (p[-1])])
                  break;
                p--, pos--, pos_byte--;
-               UPDATE_SYNTAX_TABLE_BACKWARD (pos - 1);
              }
          }
       }