summaryrefslogtreecommitdiff
path: root/pod/perlreguts.pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-08-14 11:39:38 -0600
committerKarl Williamson <public@khwilliamson.com>2013-09-24 11:36:14 -0600
commitd1d040e539a86226d1a68f741e36ac5b3cfdbda9 (patch)
tree0ee244ad7b59a535590f7ed7ac7681e10e6adcbc /pod/perlreguts.pod
parentb27fd97ad21e14201a125cc5f2b9adec3273b848 (diff)
downloadperl-d1d040e539a86226d1a68f741e36ac5b3cfdbda9.tar.gz
regcomp.h: Create new typedef synonym for clarity
This commit finishes (at least for now) removing some of the overloading of the term class. A 'regnode_charclass_class' node contains space for storing the posix classes it matches that are never defined until the moment of matching because they are subject to the current run-time locale. This commit creates a typedef 'regnode_charclass_posixl' synonym that doesn't re-use the term 'class' for two different purposes.
Diffstat (limited to 'pod/perlreguts.pod')
-rw-r--r--pod/perlreguts.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlreguts.pod b/pod/perlreguts.pod
index d93c799ce6..eac08f5d7a 100644
--- a/pod/perlreguts.pod
+++ b/pod/perlreguts.pod
@@ -180,15 +180,15 @@ Various flags whose names begin with C<ANYOF_> are used for special
situations. Above Latin1 matches and things not known until run-time
are stored in L</Perl's pprivate structure>.
-=item C<regnode_charclass_class>
+=item C<regnode_charclass_posixl>
There is also a larger form of a char class structure used to represent
POSIX char classes under C</l> matching,
-called C<regnode_charclass_class> which has an
+called C<regnode_charclass_posixl> which has an
additional 32-bit bitmap indicating which POSIX char classes
have been included.
- regnode_charclass_class U32 arg1;
+ regnode_charclass_posixl U32 arg1;
char bitmap[ANYOF_BITMAP_SIZE];
U32 classflags;