Add new regnode for synthetic start class
authorKarl Williamson <public@khwilliamson.com>
Thu, 27 Dec 2012 20:49:30 +0000 (13:49 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 28 Dec 2012 17:38:56 +0000 (10:38 -0700)
commit9aa1e39f96ac28f6ce5d814d9a1eccf1464aba4a
tree559ccdb8f8d11e9371f922df76b4b826fefc6105
parentacf6704793b7522fa171752fe2c38ef25ab7c2c1
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.
pod/perldebguts.pod
regcomp.c
regcomp.h
regcomp.sym
regexec.c
regnodes.h