From: Richard M. Stallman Date: Mon, 20 Dec 2004 11:06:54 +0000 (+0000) Subject: (re_match_2_internal) : X-Git-Tag: ttn-vms-21-2-B4~3201 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=134579f2dadf89fca5d933fd7cb83fd7d3d32c4b;p=emacs.git (re_match_2_internal) : Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1d4c964a45c..c7af7651f6c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-12-20 Richard M. Stallman + + * regex.c (re_match_2_internal) : + Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. + 2004-12-18 YAMAMOTO Mitsuharu * macterm.c (endif, x_font_name_to_mac_font_name): Use diff --git a/src/regex.c b/src/regex.c index 1009c837dcf..a223f170765 100644 --- a/src/regex.c +++ b/src/regex.c @@ -5860,7 +5860,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) PREFETCH_NOLIMIT (); c2 = RE_STRING_CHAR (d, dend - d); #ifdef emacs - UPDATE_SYNTAX_TABLE_FORWARD (charpos); + UPDATE_SYNTAX_TABLE_FORWARD (charpos + 1); #endif s2 = SYNTAX (c2); @@ -5947,7 +5947,7 @@ re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop) PREFETCH_NOLIMIT (); c2 = RE_STRING_CHAR (d, dend - d); #ifdef emacs - UPDATE_SYNTAX_TABLE_FORWARD (charpos); + UPDATE_SYNTAX_TABLE_FORWARD (charpos + 1); #endif s2 = SYNTAX (c2);