summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-16 21:08:13 -0600
committerKarl Williamson <khw@cpan.org>2020-10-31 11:04:19 -0600
commit430f723e6dceffbacbd1d7160d35ee8a2b698448 (patch)
treeef8d5a4308f1822d1b4dc2813f6b73d792a3b6c1 /embed.fnc
parentcc448ceab170493a35039184f4f85054a8ddf971 (diff)
downloadperl-430f723e6dceffbacbd1d7160d35ee8a2b698448.tar.gz
Fix up delimcpy_no_escape()
I modified this function in ab01742544b98b5b5e13d8e1a6e9df474b9e3005, and did not fully understand the edge cases. This commit now handles those properly, the same as plain delimcpy() does.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed.fnc b/embed.fnc
index e088cd844c..5a30f468c6 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -756,10 +756,10 @@ pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
ATpd |char* |delimcpy|NN char* to|NN const char* to_end \
|NN const char* from|NN const char* from_end \
|const int delim|NN I32* retlen
-Tpd |char* |delimcpy_no_escape|NN char* to|NN const char* toend \
+ETpd |char* |delimcpy_no_escape|NN char* to|NN const char* to_end \
|NN const char* from \
- |NN const char* fromend|int delim \
- |NN I32* retlen
+ |NN const char* from_end \
+ |const int delim|NN I32* retlen
: Used in op.c, perl.c
px |void |delete_eval_scope
Aprd |OP* |die_sv |NN SV *baseex