diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-05-29 22:22:36 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-29 22:22:36 +0100 |
commit | c85ae797ecb755d3bcfabd44aa268e3e6e2e7c13 (patch) | |
tree | 3eecbca583b909bb5bee4d22e928976f233fcc79 /toke.c | |
parent | af534a0431cd837092de9abe4bff29feeeafebb3 (diff) | |
download | perl-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |