summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-27 13:49:30 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-28 10:38:56 -0700
commit9aa1e39f96ac28f6ce5d814d9a1eccf1464aba4a (patch)
tree559ccdb8f8d11e9371f922df76b4b826fefc6105 /regcomp.sym
parentacf6704793b7522fa171752fe2c38ef25ab7c2c1 (diff)
downloadperl-9aa1e39f96ac28f6ce5d814d9a1eccf1464aba4a.tar.gz
Add new regnode for synthetic start class
This creates a regnode specifically for the synthetic start class, which is a type of ANYOF node. The flag bit previously used to denote this is removed. This paves the way for this bit to be freed up, but first the other use of this bit must also be removed, which will be done in the next commit. There are now three ANYOF-type regnodes. This one should be called only in one place in regexec.c. The other special one is ANYOF_WARN_SUPER. A synthetic start class node should not do any warning, so there is no issue of having something need to be both types.
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/regcomp.sym b/regcomp.sym
index 68182c9e34..4de5d79bf5 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -56,6 +56,7 @@ SANY REG_ANY, no 0 S ; Match any one character.
CANY REG_ANY, no 0 S ; Match any one byte.
ANYOF ANYOF, sv 0 S ; Match character in (or not in) this class, single char match only
ANYOF_WARN_SUPER ANYOF, sv 0 S ; Match character in (or not in) this class, warn (if enabled) upon matching a char above Unicode max;
+ANYOF_SYNTHETIC ANYOF, sv 0 S ; Synthetic start class
# Order of the below is important. See ordering comment above.
POSIXD POSIXD, none 0 S ; Some [[:class:]] under /d; the FLAGS field gives which one