(skip_chars): Fix previous change.

This commit is contained in:
Kenichi Handa 2003-04-24 23:25:09 +00:00
parent f7fd2535ce
commit 4e837cd04f
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2003-04-25 Kenichi Handa <handa@m17n.org>
* syntax.c (skip_chars): Fix previous change.
2003-04-24 Kenichi Handa <handa@m17n.org>
* syntax.c (skip_chars): Make the code faster by using the common

View file

@ -1656,7 +1656,7 @@ skip_chars (forwardp, syntaxp, string, lim)
p = GAP_END_ADDR;
stop = endp;
}
if (fastmap[*p])
if (!fastmap[*p])
break;
p++, pos++;
}
@ -1709,7 +1709,7 @@ skip_chars (forwardp, syntaxp, string, lim)
p = GPT_ADDR;
stop = endp;
}
if (fastmap[p[-1]])
if (!fastmap[p[-1]])
break;
p--, pos--;
}