summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-01-06 20:25:24 -0700
committerKarl Williamson <public@khwilliamson.com>2013-01-11 11:50:35 -0700
commit00ce556345c5faa3eb42f47f2a510d07b5f3d7c8 (patch)
tree2c1a11fb68fff6076f1d8ee3102611ce225635f6 /embed.fnc
parent6b976e32dcccdff3dde7682ad9314dc5cd918e17 (diff)
downloadperl-00ce556345c5faa3eb42f47f2a510d07b5f3d7c8.tar.gz
Revise calling sequences for grok_bslash_[xo]
By passing the address of the parse pointer, the functions can advance it, eliminating a parameter to the function, and simplifying the code in the caller.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc8
1 files changed, 6 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 0bdbd9306f..02ce9b2761 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -736,8 +736,12 @@ ApdR |I32 |looks_like_number|NN SV *const sv
Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
EMsR |char |grok_bslash_c |const char source|const bool utf8|const bool output_warning
-EMsR |bool |grok_bslash_o |NN const char* s|NN UV* uv|NN STRLEN* len|NN const char** error_msg|const bool output_warning
-EMiR |bool |grok_bslash_x |NN const char* s|NN UV* uv|NN STRLEN* len|NN const char** error_msg|const bool output_warning
+EMsR |bool |grok_bslash_o |NN char** s|NN UV* uv \
+ |NN const char** error_msg \
+ |const bool output_warning
+EMiR |bool |grok_bslash_x |NN char** s|NN UV* uv \
+ |NN const char** error_msg \
+ |const bool output_warning
#endif
Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep