# New Ticket Created by Zev Benjamin
# Please include the string: [perl #50550]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50550 >
The fix is straightforward, but this change should also be made in
STD.pm. This fixes RT #49910.
Zev
Index: languages/perl6/src/parser/grammar.pg
===================================================================
--- languages/perl6/src/parser/grammar.pg (revision 25537)
+++ languages/perl6/src/parser/grammar.pg (working copy)
@@ -532,7 +532,7 @@
| \d+[_\d+]*
{{ say "Leading 0 does not indicate octal in Perl 6" }} # FIXME
]
- | \d+[_\d+]*
+ | \d+[_\d+]* [ <[Ee]> <[+\-]>? \d+ ]?
]
{*}
}