Commit 134579f2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(re_match_2_internal) <symend, wordend>:

Fix calls to UPDATE_SYNTAX_TABLE_FORWARD.
parent 9ee7410d
2004-12-20 Richard M. Stallman <rms@gnu.org>
* regex.c (re_match_2_internal) <symend, wordend>:
Fix calls to UPDATE_SYNTAX_TABLE_FORWARD.
2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
 
* macterm.c (endif, x_font_name_to_mac_font_name): Use
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment