aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/syntax.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2ed1cf6fd4c..77b6334f0d4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12003-04-25 Kenichi Handa <handa@m17n.org>
2
3 * syntax.c (skip_chars): Fix previous change.
4
12003-04-24 Kenichi Handa <handa@m17n.org> 52003-04-24 Kenichi Handa <handa@m17n.org>
2 6
3 * syntax.c (skip_chars): Make the code faster by using the common 7 * syntax.c (skip_chars): Make the code faster by using the common
diff --git a/src/syntax.c b/src/syntax.c
index dbdac11694d..d25c4394c6e 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1656,7 +1656,7 @@ skip_chars (forwardp, syntaxp, string, lim)
1656 p = GAP_END_ADDR; 1656 p = GAP_END_ADDR;
1657 stop = endp; 1657 stop = endp;
1658 } 1658 }
1659 if (fastmap[*p]) 1659 if (!fastmap[*p])
1660 break; 1660 break;
1661 p++, pos++; 1661 p++, pos++;
1662 } 1662 }
@@ -1709,7 +1709,7 @@ skip_chars (forwardp, syntaxp, string, lim)
1709 p = GPT_ADDR; 1709 p = GPT_ADDR;
1710 stop = endp; 1710 stop = endp;
1711 } 1711 }
1712 if (fastmap[p[-1]]) 1712 if (!fastmap[p[-1]])
1713 break; 1713 break;
1714 p--, pos--; 1714 p--, pos--;
1715 } 1715 }