changeset 56724:2c932ff651d2

(skip_chars): Fix for unibyte case.
author Kenichi Handa <handa@m17n.org>
date Fri, 20 Aug 2004 08:46:50 +0000
parents 610c84180be0
children 96adf16df999
files src/syntax.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Thu Aug 19 22:30:02 2004 +0000
+++ b/src/syntax.c	Fri Aug 20 08:46:50 2004 +0000
@@ -1728,12 +1728,12 @@
 		      if (negate)
 			break;
 		      else
-			goto fwd_ok;
+			goto fwd_unibyte_ok;
 		    }
 
 		  if (!fastmap[*p])
 		    break;
-
+		fwd_unibyte_ok:
 		  p++, pos++;
 		}
 	  }
@@ -1801,12 +1801,12 @@
 		      if (negate)
 			break;
 		      else
-			goto fwd_ok;
+			goto back_unibyte_ok;
 		    }
 
 		  if (!fastmap[p[-1]])
 		    break;
-
+		back_unibyte_ok:
 		  p--, pos--;
 		}
 	  }