summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-31 23:06:39 +0100
committerDavid Mitchell <davem@iabyn.com>2013-06-02 22:28:55 +0100
commit87c1d905b4923d9903d603962f0d96171b4adaf3 (patch)
tree9971fab51bfd37eadc643612eeb511a157dc091f /intrpvar.h
parentf7c7e32a45f023c8046ae1bacda1a9568fcfe755 (diff)
downloadperl-87c1d905b4923d9903d603962f0d96171b4adaf3.tar.gz
better comment the remaining PL_ regex vars
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 5d9ac11e19..9d85150e09 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -123,7 +123,8 @@ PERLVAR(I, sv_arenaroot, SV *) /* list of areas for garbage collection */
PERLVARI(I, reg_curpm, PMOP*, NULL)
/* the currently active slab in a chain of slabs of regmatch states,
- * and the currently active state within that slab */
+ * and the currently active state within that slab. This stack of states
+ * is shared amongst re-entrant calls to the regex engine */
PERLVARI(I, regmatch_slab, regmatch_slab *, NULL)
PERLVAR(I, regmatch_state, regmatch_state *)
@@ -234,7 +235,7 @@ PERLVAR(I, exit_flags, U8) /* was exit() unexpected, etc. */
PERLVAR(I, utf8locale, bool) /* utf8 locale detected */
-PERLVARA(I, colors,6, char *) /* from regcomp.c */
+PERLVARA(I, colors,6, char *) /* values from PERL_RE_COLORS env var */
/*
=for apidoc Amn|peep_t|PL_peepp
@@ -555,7 +556,7 @@ PERLVAR(I, sawampersand, U8) /* must save all match strings */
#endif
PERLVAR(I, unsafe, bool)
-PERLVAR(I, colorset, bool) /* from regcomp.c */
+PERLVAR(I, colorset, bool) /* PERL_RE_COLORS env var is in use */
/* current phase the interpreter is in
for ordering this structure to remove holes, we're assuming that this is 4