aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 2 insertions, 2 deletions
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 }