summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-05-29 22:22:36 +0100
committerNicholas Clark <nick@ccl4.org>2010-05-29 22:22:36 +0100
commitc85ae797ecb755d3bcfabd44aa268e3e6e2e7c13 (patch)
tree3eecbca583b909bb5bee4d22e928976f233fcc79 /toke.c
parentaf534a0431cd837092de9abe4bff29feeeafebb3 (diff)
downloadperl-c85ae797ecb755d3bcfabd44aa268e3e6e2e7c13.tar.gz
Fix the regexp in t/porting/args_assert.t, and add 3 missing macros.
Resolves RT #72800.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/toke.c b/toke.c
index f142ada83f..a5d5429ccf 100644
--- a/toke.c
+++ b/toke.c
@@ -13669,6 +13669,8 @@ S_utf16_textfilter(pTHX_ int idx, SV *sv, int maxlen)
const bool reverse = cBOOL(IoLINES(filter));
I32 retval;
+ PERL_ARGS_ASSERT_UTF16_TEXTFILTER;
+
/* As we're automatically added, at the lowest level, and hence only called
from this file, we can be sure that we're not called in block mode. Hence
don't bother writing code to deal with block mode. */
@@ -13782,6 +13784,8 @@ S_add_utf16_textfilter(pTHX_ U8 *const s, bool reversed)
{
SV *filter = filter_add(S_utf16_textfilter, NULL);
+ PERL_ARGS_ASSERT_ADD_UTF16_TEXTFILTER;
+
IoTOP_GV(filter) = MUTABLE_GV(newSVpvn((char *)s, PL_bufend - (char*)s));
sv_setpvs(filter, "");
IoLINES(filter) = reversed;