# HG changeset patch # User Kenichi Handa <handa@m17n.org> # Date 1092991610 0 # Node ID 2c932ff651d2d1f3d68554b5fb153efb752eb13f # Parent 610c84180be0c9c4ecea7ea5f4a59e8844463e24 (skip_chars): Fix for unibyte case. diff -r 610c84180be0 -r 2c932ff651d2 src/syntax.c --- 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--; } }