summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-18 08:36:43 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-13 09:58:32 -0700
commitdbe7a39153f2c88748f4a5f0749996f500ab8570 (patch)
tree5c6a0a16411dcacc132eb66eadfaae84fb5c419f /regcomp.h
parent8c9eb58fafb92c0b9df002ce4915c59492a7db9b (diff)
downloadperl-dbe7a39153f2c88748f4a5f0749996f500ab8570.tar.gz
Comment additions, typos, white-space.
And the reordering for clarity of one test
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index 81c8a5ddd7..0540c637c0 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -311,6 +311,8 @@ struct regnode_charclass_class {
* are done to share them, as described below. If necessary, the ANYOF_LOCALE
* and ANYOF_CLASS bits could be shared with a space penalty for locale nodes,
* but this isn't quite so easy, as the optimizer also uses ANYOF_CLASS.
+ * Another option would be to push them into new nodes. E.g. there could be an
+ * ANYOF_LOCALE node that would be in place of the flag of the same name.
* Once the planned change to compile all the above-latin1 code points is done,
* then the UNICODE_ALL bit can be freed up, with a small performance penalty.
* If flags need to be added that are applicable to the synthetic start class