summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2011-08-06 10:35:22 +0100
committerFather Chrysostomos <sprout@cpan.org>2012-03-22 20:23:54 -0700
commit4bca4ee0177ebddff4006e8fdc3f36628349ae11 (patch)
tree050ee100934ab151b505fe57adfde5d5fffa4880 /toke.c
parent3c54b17ac754f03829f63c4ed668e555e98f7623 (diff)
downloadperl-4bca4ee0177ebddff4006e8fdc3f36628349ae11.tar.gz
toke.c: 'No package name allowed for variable %s in "our"' cleanup.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index 2fb0a56a0d..aee009e425 100644
--- a/toke.c
+++ b/toke.c
@@ -8472,9 +8472,9 @@ S_pending_ident(pTHX)
if (PL_in_my) {
if (PL_in_my == KEY_our) { /* "our" is merely analogous to "my" */
if (has_colon)
- yyerror(Perl_form(aTHX_ "No package name allowed for "
+ yyerror_pv(Perl_form(aTHX_ "No package name allowed for "
"variable %s in \"our\"",
- PL_tokenbuf));
+ PL_tokenbuf), UTF ? SVf_UTF8 : 0);
tmp = allocmy(PL_tokenbuf, tokenbuf_len, UTF ? SVf_UTF8 : 0);
}
else {