Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #38964] .sub names can't be Unicode.

0 views
Skip to first unread message

Will Coleda

unread,
Apr 22, 2006, 9:43:29 PM4/22/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #38964]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38964 >


The following PIR:

.sub unicode:"\u7777"
print "ok\n"
.end

Should print: "ok", but instead errors out with:

error:imcc:syntax error, unexpected USTRINGC, expecting IDENTIFIER or
STRINGC or PARROT_OP
in file 'foo.pir' line 1

Leopold Toetsch

unread,
Jun 1, 2006, 3:06:36 PM6/1/06
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com

On Apr 23, 2006, at 3:43, Will Coleda (via RT) wrote:

> .sub unicode:"\u7777"
> print "ok\n"
> .end

This should be ok now as well as calling the sub, sub.t is passing
again with r12863. More tests e.g. method calls are very welcome.

leo

0 new messages