summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-03-08 15:25:27 -0700
committerKarl Williamson <public@khwilliamson.com>2011-03-08 23:22:15 -0700
commit58b5ba03346c70dc37751766fe464485278999a8 (patch)
tree45dc680eae7f461993640283c5946fe5cb59f36d /regcomp.c
parentc8d3cd88811d23a268c37b61d1c0641a6d42d995 (diff)
downloadperl-58b5ba03346c70dc37751766fe464485278999a8.tar.gz
regcomp.c: clarify comments
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 9357a7899f..53047ee4f2 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -773,7 +773,7 @@ S_cl_init_zero(const RExC_state_t *pRExC_state, struct regnode_charclass_class *
}
/* 'And' a given class with another one. Can create false positives */
-/* We assume that cl is not inverted */
+/* cl should not be inverted */
STATIC void
S_cl_and(struct regnode_charclass_class *cl,
const struct regnode_charclass_class *and_with)
@@ -829,7 +829,7 @@ S_cl_and(struct regnode_charclass_class *cl,
}
/* 'OR' a given class with another one. Can create false positives */
-/* We assume that cl is not inverted */
+/* cl should not be inverted */
STATIC void
S_cl_or(const RExC_state_t *pRExC_state, struct regnode_charclass_class *cl, const struct regnode_charclass_class *or_with)
{