aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
authorJoakim Verona2012-09-03 17:30:17 +0200
committerJoakim Verona2012-09-03 17:30:17 +0200
commit4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (patch)
treea33402e09342f748baebf0e4f5a1e40538e620f4 /src/regex.c
parent5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (diff)
parentdcde497f27945c3ca4ce8c21f655ef6f627acdd2 (diff)
downloademacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.tar.gz
emacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.zip
upstream
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c
index 472ef727979..28813304c8a 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -5160,11 +5160,13 @@ re_match_2_internal (struct re_pattern_buffer *bufp, const re_char *string1,
5160 { 5160 {
5161 /* 1 if this match ends in the same string (string1 or string2) 5161 /* 1 if this match ends in the same string (string1 or string2)
5162 as the best previous match. */ 5162 as the best previous match. */
5163 boolean same_str_p = (FIRST_STRING_P (match_end) 5163 boolean same_str_p;
5164 == FIRST_STRING_P (d));
5165 /* 1 if this match is the best seen so far. */ 5164 /* 1 if this match is the best seen so far. */
5166 boolean best_match_p; 5165 boolean best_match_p;
5167 5166
5167 same_str_p = (FIRST_STRING_P (match_end)
5168 == FIRST_STRING_P (d));
5169
5168 /* AIX compiler got confused when this was combined 5170 /* AIX compiler got confused when this was combined
5169 with the previous declaration. */ 5171 with the previous declaration. */
5170 if (same_str_p) 5172 if (same_str_p)