Commit 4e837cd0 authored by Kenichi Handa's avatar Kenichi Handa

(skip_chars): Fix previous change.

parent f7fd2535
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
......
......@@ -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--;
}
......
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