summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorMark-Jason Dominus <mjd@plover.com>2001-07-12 10:25:32 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-12 17:44:29 +0000
commit261faec3797a0b3cc70d08a3592a0a69ab6ad814 (patch)
treed902eb4ed01a392da86c9828bf10f35635cc7f1c /regcomp.h
parentd2f185dc382d88c8937811f2dad1af55f70d3369 (diff)
downloadperl-261faec3797a0b3cc70d08a3592a0a69ab6ad814.tar.gz
Patch: document reg_data.what member
Message-ID: <20010712182532.14821.qmail@plover.com> p4raw-id: //depot/perl@11322
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index b9542c9bce..b336bec54b 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -350,6 +350,15 @@ typedef struct re_scream_pos_data_s
I32 *scream_pos; /* Internal iterator of scream. */
} re_scream_pos_data;
+/* .what is a character array with one character for each member of .data
+ * The character describes the function of the corresponding .data item:
+ * f - start-class data for regstclass optimization
+ * n - Root of op tree for (?{EVAL}) item
+ * o - Start op for (?{EVAL}) item
+ * p - Pad for (?{EVAL} item
+ * s - swash for unicode-style character class
+ * 20010712 mjd@plover.com
+ */
struct reg_data {
U32 count;
U8 *what;