Ticket #575 (closed bug: fixed)
Parrot lexicals won't accept unicode identifiers
Reported by: | pmichaud | Owned by: | coke |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | imcc | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Lexicals in Parrot don't seem to be able to accept unicode identifiers. Here's a test program:
$ cat x.pir .sub main :main $P0 = box 'hello world' .lex unicode:"$\u03b2\u03bf\u03bf", $P0 $P1 = find_lex unicode:"$\u03b2\u03bf\u03bf" say $P1 .end $ ./parrot x.pir error:imcc:syntax error, unexpected USTRINGC, expecting STRINGC ('unicode:"$\u03b2\u03bf\u03bf"') in file 'x.pir' line 3 $
It's possible that all that is needed is to update imcc to accept USTRINGC for lexical names instead of simply STRINGC.
This fix is needed for Rakudo -- see RT #64878 .
Thanks,
Pm
Change History
Note: See
TracTickets for help on using
tickets.