changeset 59039:2e087371b9ff

(re_match_2_internal) <symend, wordend>: Fix calls to UPDATE_SYNTAX_TABLE_FORWARD.
author Richard M. Stallman <rms@gnu.org>
date Mon, 20 Dec 2004 11:06:14 +0000
parents f24e718fcc7e
children 8f24915289a8
files src/regex.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.c	Sun Dec 19 07:28:04 2004 +0000
+++ b/src/regex.c	Mon Dec 20 11:06:14 2004 +0000
@@ -5860,7 +5860,7 @@
 		  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 @@
 		  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);