summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-12-26 12:37:00 -0700
committerKarl Williamson <khw@cpan.org>2015-12-26 12:57:41 -0700
commit903c858a4dec7ba02a3b2af464fd61878f1bdf48 (patch)
tree9eca790d625fd6448797195970168df8dc3f7a0d
parentc286c389b9042dbcef4d300c4faacf7efc8f6e75 (diff)
downloadperl-903c858a4dec7ba02a3b2af464fd61878f1bdf48.tar.gz
regcomp.c: Add comment.
This should have been included in commit 285b5ca0145796a915dec03e87e0176fd4681041
-rw-r--r--regcomp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index bb51f17a16..2df6ad7c22 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -600,6 +600,9 @@ static const scan_data_t zero_scan_data =
*
* When the substitute is constructed, we save (tI -sI) as RExC_precomp_adj,
* and we save tC as RExC_adjusted_start.
+ *
+ * During normal processing of the input pattern, everything points to that,
+ * with RExC_precomp_adj set to 0, and RExC_adjusted_start set to sI.
*/
#define tI_sI RExC_precomp_adj