summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-03-21 17:55:19 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-03-22 20:23:52 -0700
commit7350962f469ccd5aa91df76014fab15c0a785530 (patch)
tree25cf944a0e12289bd674d3c20c7ff9750de684ca /toke.c
parent19c6248174a2dd57782271308b166ab6bc3e63c8 (diff)
downloadperl-7350962f469ccd5aa91df76014fab15c0a785530.tar.gz
Remove yyerror_sv
This was added in the previous commit, but was unnecessary, as it is not used anywhere and is not part of the public API.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/toke.c b/toke.c
index 08607efb25..346a39d64d 100644
--- a/toke.c
+++ b/toke.c
@@ -10740,18 +10740,6 @@ Perl_yyerror_pv(pTHX_ const char *const s, U32 flags)
}
int
-Perl_yyerror_sv(pTHX_ SV * sv, U32 flags)
-{
- char *s;
- STRLEN len;
- PERL_ARGS_ASSERT_YYERROR_SV;
- s = SvPV(sv, len);
- if (SvUTF8(sv))
- flags |= SVf_UTF8;
- return yyerror_pvn(s, len, flags);
-}
-
-int
Perl_yyerror_pvn(pTHX_ const char *const s, STRLEN len, U32 flags)
{
dVAR;