diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-08-14 11:39:38 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-09-24 11:36:14 -0600 |
commit | d1d040e539a86226d1a68f741e36ac5b3cfdbda9 (patch) | |
tree | 0ee244ad7b59a535590f7ed7ac7681e10e6adcbc /perl.h | |
parent | b27fd97ad21e14201a125cc5f2b9adec3273b848 (diff) | |
download | perl-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 'perl.h')
-rw-r--r-- | perl.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3277,6 +3277,11 @@ typedef struct magic_state MGS; /* struct magic_state defined in mg.c */ struct scan_data_t; /* Used in S_* functions in regcomp.c */ struct regnode_charclass_class; /* Used in S_* functions in regcomp.c */ + +/* A hopefully less confusing name. The sub-classes are all Posix classes only + * used under /l matching */ +typedef struct regnode_charclass_class regnode_charclass_posixl; + typedef struct regnode_ssc regnode_ssc; struct ptr_tbl_ent { |