aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-09-30 20:16:40 +0300
committerEli Zaretskii2023-09-30 20:16:40 +0300
commitfcd0bb295adef2182136761bdea9dba320dd85ed (patch)
tree6e134eb04521b581cfd4b3a08354047352d8458b
parentc55e22c418048463a83e6b0e29c727c4f7b09545 (diff)
downloademacs-fcd0bb295adef2182136761bdea9dba320dd85ed.tar.gz
emacs-fcd0bb295adef2182136761bdea9dba320dd85ed.zip
; * src/regex-emacs.c (forall_firstchar_1): Fix compilation error.
-rw-r--r--src/regex-emacs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 79e9f2c105a..ffb8891d3a6 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -2841,6 +2841,7 @@ forall_firstchar_1 (re_char *p, re_char *pend,
2841 { 2841 {
2842 re_char *newp1, *newp2, *tmp; 2842 re_char *newp1, *newp2, *tmp;
2843 re_char *p_orig = p; 2843 re_char *p_orig = p;
2844 int offset;
2844 2845
2845 if (p == pend) 2846 if (p == pend)
2846 return false; 2847 return false;
@@ -2978,7 +2979,7 @@ forall_firstchar_1 (re_char *p, re_char *pend,
2978 goto do_twoway_jump; 2979 goto do_twoway_jump;
2979 2980
2980 case set_number_at: 2981 case set_number_at:
2981 int offset = extract_number (p + 1); 2982 offset = extract_number (p + 1);
2982 DEBUG_STATEMENT (eassert (extract_number (p + 3))); 2983 DEBUG_STATEMENT (eassert (extract_number (p + 3)));
2983 /* If we're setting the counter of an immediately following 2984 /* If we're setting the counter of an immediately following
2984 `succeed_n`, then this next execution of `succeed_n` will do 2985 `succeed_n`, then this next execution of `succeed_n` will do