summaryrefslogtreecommitdiff
path: root/pcre_study.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-04-14 17:02:30 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-04-14 17:02:30 +0000
commite2126bc127a8b4c3602dd28ebb2862ad6fbc27a6 (patch)
tree6b27073ef6f658d52820a9b884a97cd00743263a /pcre_study.c
parente75637b2efc61520e5bb4a99643620a27d4b036a (diff)
downloadpcre-e2126bc127a8b4c3602dd28ebb2862ad6fbc27a6.tar.gz
Documentation and tidies preparatory to 8.37 release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1548 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_study.c')
-rw-r--r--pcre_study.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/pcre_study.c b/pcre_study.c
index a4c7428..998fe23 100644
--- a/pcre_study.c
+++ b/pcre_study.c
@@ -401,24 +401,24 @@ for (;;)
break;
}
else
- {
- recurse_check *r = recurses;
+ {
+ recurse_check *r = recurses;
for (r = recurses; r != NULL; r = r->prev) if (r->group == cs) break;
if (r != NULL) /* Mutual recursion */
- {
- d = 0;
- had_recurse = TRUE;
- break;
- }
+ {
+ d = 0;
+ had_recurse = TRUE;
+ break;
+ }
else
{
int dd;
this_recurse.prev = recurses;
- this_recurse.group = cs;
+ this_recurse.group = cs;
dd = find_minlength(re, cs, startcode, options, &this_recurse);
if (dd < d) d = dd;
}
- }
+ }
slot += re->name_entry_size;
}
}
@@ -439,20 +439,20 @@ for (;;)
had_recurse = TRUE;
}
else
- {
- recurse_check *r = recurses;
+ {
+ recurse_check *r = recurses;
for (r = recurses; r != NULL; r = r->prev) if (r->group == cs) break;
if (r != NULL) /* Mutual recursion */
- {
- d = 0;
- had_recurse = TRUE;
- }
+ {
+ d = 0;
+ had_recurse = TRUE;
+ }
else
{
this_recurse.prev = recurses;
- this_recurse.group = cs;
+ this_recurse.group = cs;
d = find_minlength(re, cs, startcode, options, &this_recurse);
- }
+ }
}
}
else d = 0;
@@ -504,18 +504,18 @@ for (;;)
if (cc > cs && cc < ce) /* Simple recursion */
had_recurse = TRUE;
else
- {
- recurse_check *r = recurses;
+ {
+ recurse_check *r = recurses;
for (r = recurses; r != NULL; r = r->prev) if (r->group == cs) break;
if (r != NULL) /* Mutual recursion */
- had_recurse = TRUE;
+ had_recurse = TRUE;
else
{
this_recurse.prev = recurses;
- this_recurse.group = cs;
+ this_recurse.group = cs;
branchlength += find_minlength(re, cs, startcode, options,
&this_recurse);
- }
+ }
}
cc += 1 + LINK_SIZE;
break;