summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-08-14 11:19:18 -0600
committerKarl Williamson <public@khwilliamson.com>2013-09-24 11:36:13 -0600
commit557bd3fbbb79c932d6c63b4e37201c2ae13c700d (patch)
tree4f771d558da24c7f42c154e00f1f78241b7f94fa /embed.fnc
parentd2b7f31e8368e71f4af425b35407d3c0db9c61cf (diff)
downloadperl-557bd3fbbb79c932d6c63b4e37201c2ae13c700d.tar.gz
regcomp.c: Change names of some static functions
The term 'class' is very overloaded in regex code and documentation. perlrecharclass.pod calls the dot (matching any char) a class, and calls the [] form "bracketed character classes". There are other meanings as well. This is the first commit in a short series that removes some of those overloadings. One instance of class is the "synthetic start class", generated by the regex optimizer to be a list of all the code points a sucessful match could possibly start with. This is useful in more quickly finding where to start looking in matching against a target string. Prior to this commit, the routines that referred to this began with 'cl_', and the formal parameters were 'cl', which could mean any class. This commit changes those instances of 'cl' to 'ssc' to indicate this is the only type of class that is being handled.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc16
1 files changed, 8 insertions, 8 deletions
diff --git a/embed.fnc b/embed.fnc
index c328e3a98a..930600ea0a 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2053,15 +2053,15 @@ Es |void |scan_commit |NN const struct RExC_state_t *pRExC_state \
|NN struct scan_data_t *data \
|NN SSize_t *minlenp|int is_inf
Es |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
-Esn |void |cl_anything |NN const struct RExC_state_t *pRExC_state \
- |NN regnode_ssc *cl
-EsRn |int |cl_is_anything |NN const regnode_ssc *cl
-Esn |void |cl_init |NN const struct RExC_state_t *pRExC_state \
- |NN regnode_ssc *cl
-Esn |void |cl_and |NN regnode_ssc *cl \
+Esn |void |ssc_anything |NN const struct RExC_state_t *pRExC_state \
+ |NN regnode_ssc *ssc
+EsRn |int |ssc_is_anything|NN const regnode_ssc *ssc
+Esn |void |ssc_init |NN const struct RExC_state_t *pRExC_state \
+ |NN regnode_ssc *ssc
+Esn |void |ssc_and |NN regnode_ssc *ssc \
|NN const regnode_ssc *and_with
-Esn |void |cl_or |NN const struct RExC_state_t *pRExC_state \
- |NN regnode_ssc *cl \
+Esn |void |ssc_or |NN const struct RExC_state_t *pRExC_state \
+ |NN regnode_ssc *ssc \
|NN const regnode_ssc *or_with
Es |SSize_t|study_chunk |NN struct RExC_state_t *pRExC_state \
|NN regnode **scanp|NN SSize_t *minlenp \