summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-01 14:49:39 -0600
committerKarl Williamson <public@khwilliamson.com>2012-08-02 09:24:53 -0600
commitb9e8c997b9a1c15e919ad20df9ba2f1501c64d76 (patch)
treeccbdd2a8d3502df647e6f1edc4f7c29c3bf44c20 /embed.fnc
parent26faadbdfacc510abb04832e4c81d1f71329c697 (diff)
downloadperl-b9e8c997b9a1c15e919ad20df9ba2f1501c64d76.tar.gz
regcomp.c: Revise API for static function
This is to allow future changes. The function now returns success or failure, and the created regnode (if any) is set via a parameter pointer. I removed the 'register' declaration to get this to work, because such declarations are considered bad form these days, e.g., http://stackoverflow.com/questions/314994/whats-a-good-example-of-register-variable-usage-in-c
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc5
1 files changed, 3 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 627024a5b7..8a6cdade80 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1934,8 +1934,9 @@ Es |regnode*|reg_node |NN struct RExC_state_t *pRExC_state|U8 op
Es |UV |reg_recode |const char value|NN SV **encp
Es |regnode*|regpiece |NN struct RExC_state_t *pRExC_state \
|NN I32 *flagp|U32 depth
-Es |regnode*|grok_bslash_N|NN struct RExC_state_t *pRExC_state \
- |NULLOK UV *valuep|NULLOK I32 *flagp|U32 depth
+Es |bool |grok_bslash_N |NN struct RExC_state_t *pRExC_state \
+ |NULLOK regnode** nodep|NULLOK UV *valuep \
+ |NULLOK I32 *flagp|U32 depth|bool in_char_class
Es |void |reginsert |NN struct RExC_state_t *pRExC_state \
|U8 op|NN regnode *opnd|U32 depth
Es |void |regtail |NN struct RExC_state_t *pRExC_state \