diff options
author | Brian Fraser <fraserbn@gmail.com> | 2011-08-20 08:33:57 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-03-25 13:43:58 -0700 |
commit | 86fe3f368e07f69cb20296f510fcb1d5ce6b3777 (patch) | |
tree | 58e29aba02239b6becad3bdc58212ec2423a04ba /toke.c | |
parent | 78c28381895e365e220a83fe0515986e1d6c6ea1 (diff) | |
download | perl-86fe3f368e07f69cb20296f510fcb1d5ce6b3777.tar.gz |
toke.c: "Bad name after %s%s" cleanup.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6659,7 +6659,9 @@ Perl_yylex(pTHX) s = scan_word(s, PL_tokenbuf + len, sizeof PL_tokenbuf - len, TRUE, &morelen); if (!morelen) - Perl_croak(aTHX_ "Bad name after %s%s", PL_tokenbuf, + Perl_croak(aTHX_ "Bad name after %"SVf"%s", + SVfARG(newSVpvn_flags(PL_tokenbuf, len, + (UTF ? SVf_UTF8 : 0) | SVs_TEMP )), *s == '\'' ? "'" : "::"); len += morelen; pkgname = 1; |